b3dSetPhysicsBodyAngularVelocity

Sets physics body angular velocity in deg/sec (vx/vy/vz spin rates around axes). Takes bodyHandle (physics body from b3dCreatePhysicsBody), vx/vy/vz (angular velocity in degrees per second around X/Y/Z axes). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

bodyHandle Int
vx Double
vy Double
vz Double

Returns

Void

Quick Summary

Sets physics body angular velocity in deg/sec (vx/vy/vz spin rates around axes). Takes bodyHandle (physics body from b3dCreatePhysicsBody), vx/vy/vz (angular velocity in degrees per second around X/Y/Z axes). Returns nothing.

Technical Exegesis...

Sets physics body angular velocity in deg/sec (vx/vy/vz spin rates around axes). Takes bodyHandle (physics body from b3dCreatePhysicsBody), vx/vy/vz (angular velocity in degrees per second around X/Y/Z axes). Returns nothing. Converts degrees to radians, sets Jolt angular velocity, affects body rotation over time. Use for spinning objects, rotational control, or stopping spin.

This function sets rotational velocity.

Example

Example.bam
; No example implemented yet