b3dSetCharacterAcceleration

Sets acceleration/deceleration in units/sec^2 (0.0=instant, >0=gradual speed change, default 0.0). Takes characterHandle (character controller from b3dCreateCharacterController), acceleration (rate of speed increase in units per second squared, how fast character reaches target speed when starting or speeding up), deceleration (rate of speed decrease in units per second squared, how fast character stops or slows down). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

characterHandle Int
acceleration Double
deceleration Double

Returns

Void

Quick Summary

Sets acceleration/deceleration in units/sec^2 (0.0=instant, >0=gradual speed change, default 0.0). Takes characterHandle (character controller from b3dCreateCharacterController), acceleration (rate of speed increase in units per second squared, how fast character reaches target speed when starting or speeding up), deceleration (rate of speed decrease in units per second squared, how fast character stops or slows down). Returns nothing.

Technical Exegesis...

Sets acceleration/deceleration in units/sec^2 (0.0=instant, >0=gradual speed change, default 0.0). Takes characterHandle (character controller from b3dCreateCharacterController), acceleration (rate of speed increase in units per second squared, how fast character reaches target speed when starting or speeding up), deceleration (rate of speed decrease in units per second squared, how fast character stops or slows down). Returns nothing. Sets data.acceleration and data.

Example

Example.bam
; No example implemented yet