Skip to content

Add findWorldPoint / findObjectPoint for objects#7443

Open
BMagnu wants to merge 1 commit intoscp-fs2open:masterfrom
BMagnu:scripting_local_to_global
Open

Add findWorldPoint / findObjectPoint for objects#7443
BMagnu wants to merge 1 commit intoscp-fs2open:masterfrom
BMagnu:scripting_local_to_global

Conversation

@BMagnu
Copy link
Copy Markdown
Member

@BMagnu BMagnu commented May 8, 2026

Closes #7227.
API is made to match the functions on submodel instances.
I realize this is a fairly trivial thing to build a function for, but given how incredibly common this is, and that at least I have to always look up again whether I needed to use unrotate or rotate for the transformation I need, I believe that this expose makes scripters lives easier.

@BMagnu BMagnu added the scripting A feature or issue related to LUA scripting label May 8, 2026
Copy link
Copy Markdown
Contributor

@Goober5000 Goober5000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scripting A feature or issue related to LUA scripting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scripting functions for local-to-global and global-to-local

2 participants