arena-py API v1.3.0
arena .attributes .physx_force_pushable
PhysxForcePushable attribute class to manage its properties in the ARENA: Makes a physx-body object pushable by the user. Requires click-listener
attribute. Requires scene-options: physics
.
Usage: physx_force_pushable=PhysxForcePushable(...)
Parameters
- float force: Force to apply to the object. Defaults to '10' (optional)
- str on: Event to listen 'on'. Allows [mousedown, mouseup] Defaults to 'mousedown' (optional)