Hi!
physics.setPosition() seems not working for the trigger...
physics.setTriggerPosition(bodyID, x,y,z);
physics.setTriggerOrientation(bodyID, w,x,y,z);
physics.setActive(bodyID)
SolarPortal wrote:that is because they are deactivated after a few seconds of not moving or contacting anything else.
Maybes try:
- Code: Select all
physics.setActive(bodyID)
physics.setActive(bodyID, state) -- state is 1 for active, 0 for inactive.
Users browsing this forum: No registered users and 9 guests