Link Search Menu Expand Document

physx-force-pushable

Makes a physx-body object pushable by the user. Requires click-listener attribute. Requires scene-options: physics.

This is the schema for PhysX Pushable, the properties of object physx-force-pushable.

PhysX Pushable Attributes

Attribute Type Default Description Required
on string; One of: ['mousedown', 'mouseup'] 'mousedown' Event to listen ‘on’. No
force number 10 Force to apply to the object. Yes