You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pickup event is emitted by grab-magnet-target component (from handy-controls) that toggles the grabbed state if using toggle-physics component that set the kinematic flag
Instead of componentinitialized listener and using internal physxRegisteredPromise variable, we should probably add an applyGravity property to physx-body.
The text was updated successfully, but these errors were encountered:
I just did something quite complex to create a dynamic body without gravity, and then apply gravity when I grab it so it falls when I release it.
The
pickup
event is emitted bygrab-magnet-target
component (from handy-controls) that toggles thegrabbed
state if using toggle-physics component that set the kinematic flagphysx/src/physics.js
Lines 953 to 958 in a1271b4
Instead of
componentinitialized
listener and using internalphysxRegisteredPromise
variable, we should probably add anapplyGravity
property tophysx-body
.The text was updated successfully, but these errors were encountered: