ToggleObjectCollision
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Disables/enables Collision geometry (if any) on the calling object reference.
Syntax
reference.ToggleObjectCollision toggleState:0/1
Example
objectRef.ToggleObjectCollision 0
Notes
- This function will affect ANY other objects in the game using the same world model as the calling reference. However, while the calling reference will be effected immediately, other objects will only be effected once their 3D is reloaded by the game. For this reason, when using this function to disable an object's collision, it would probably be wise to re-enable it once the player has moved to another cell.
- This function has no effect on actors.