Trying to create a sleep & wake system like rayfire?
#1
Hi all,
For a simplistic example, lets say I have a stack of cubes that a sphere will crash into.
My goal is to have the stack of cubes "asleep" or "deactive" until the sphere makes contact with the stack.
When the sphere touches the surface of the stack, the ENTIRE stack (regardless of contact location)  becomes active or awake with PhysXshape.
(Basically similar to rayfire's SLEEP until active mode)

I've tried the SURFACE TEST but it seems to activate only the areas that are determined by the distance radius values.
I am looking to setup a simple "sleep & wake" on contact. So a soon as 1 active object makes contact with the sleep objects, the PhysXshape turns on and the entire model becomes dynamic.
Thanks!
  Reply


Messages In This Thread
Trying to create a sleep & wake system like rayfire? - by louvfx - 02-01-2021, 11:54 PM

Forum Jump: