Describe the bug
When the AngelScript method SetCollisionBounds() is ran on a trigger entity (such as a trigger_multiple), the trigger will only detect anything that is simultaneously within its original bounds and the new bounds set by the method.
Issue Map
I have created a test map on the workshop here: https://steamcommunity.com/sharedfiles/filedetails/?id=3730903272
below is the code for the ResizeBounds command
sv_init.txt
To Reproduce
to change the size of the trigger's bounds, use the custom command I made called ResizeBounds.
type "ResizeBounds trigger a b c x y z", where a b c are the trigger's mins, and x y z are the trigger's maxs
the trigger will only detect when something is both in its original bounds (marked as the box in blue) and it current bounds (marked as the box in orange) simultaneously.
The cube and the sprite will turn green when the trigger thinks there's something inside of it, and red otherwise.
Operating System
No response
Describe the bug
When the AngelScript method SetCollisionBounds() is ran on a trigger entity (such as a trigger_multiple), the trigger will only detect anything that is simultaneously within its original bounds and the new bounds set by the method.
Issue Map
I have created a test map on the workshop here: https://steamcommunity.com/sharedfiles/filedetails/?id=3730903272
below is the code for the ResizeBounds command
sv_init.txt
To Reproduce
to change the size of the trigger's bounds, use the custom command I made called ResizeBounds.
type "ResizeBounds trigger a b c x y z", where a b c are the trigger's mins, and x y z are the trigger's maxs
the trigger will only detect when something is both in its original bounds (marked as the box in blue) and it current bounds (marked as the box in orange) simultaneously.
The cube and the sprite will turn green when the trigger thinks there's something inside of it, and red otherwise.
Operating System
No response