ScriptEvent:toLocalSpace

From Mod Wiki

Parameters

vector input -- The vector to translate.
entity (cannot be null) entity -- The entity to perform the translation.

Result

vector

Supported By

sdSysCallThread

Comments

  • FIXME: This should be handled by the entity, not the thread.

Functionality

Converts a vector from world space into the space of the entity's physics.