b3dGetPhysicsBodyVelocityY

Gets physics body Y-axis linear velocity in units/sec (vertical movement speed, affected by gravity). Takes bodyHandle (physics body from b3dCreatePhysicsBody). Returns Y-component of linear velocity in world units per second (positive = moving up, negative = falling down, 0.0 if physics not initialized or body not found).

3D Graphics

Parameters & Returns

Parameters

bodyHandle Int

Returns

Double

Quick Summary

Gets physics body Y-axis linear velocity in units/sec (vertical movement speed, affected by gravity). Takes bodyHandle (physics body from b3dCreatePhysicsBody). Returns Y-component of linear velocity in world units per second (positive = moving up, negative = falling down, 0.0 if physics not initialized or body not found).

Technical Exegesis...

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

This function retrieves Y velocity component.

Example

Example.bam
; No example implemented yet