b3dGetPhysicsBodyVelocityZ

Gets physics body Z-axis linear velocity in units/sec (forward/backward movement speed). Takes bodyHandle (physics body from b3dCreatePhysicsBody). Returns Z-component of linear velocity in world units per second (positive = moving forward, negative = moving backward, 0.0 if physics not initialized or body not found).

3D Graphics

Parameters & Returns

Parameters

bodyHandle Int

Returns

Double

Quick Summary

Gets physics body Z-axis linear velocity in units/sec (forward/backward movement speed). Takes bodyHandle (physics body from b3dCreatePhysicsBody). Returns Z-component of linear velocity in world units per second (positive = moving forward, negative = moving backward, 0.0 if physics not initialized or body not found).

Technical Exegesis...

Gets physics body Z-axis linear velocity in units/sec (forward/backward movement speed). Takes bodyHandle (physics body from b3dCreatePhysicsBody). Returns Z-component of linear velocity in world units per second (positive = moving forward, negative = moving backward, 0.0 if physics not initialized or body not found). Queries Jolt BodyInterface.GetLinearVelocity, extracts Z component. Read-only state query.

This function retrieves Z velocity component.

Example

Example.bam
; No example implemented yet