b3dLaunchCharacterToTarget

Launches character to target with calculated trajectory velocity (ballistic arc, gravity compensated). Takes characterHandle (character to launch), targetX/Y/Z (world position to reach), flightTime (duration in seconds to reach target). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

characterHandle Int
targetX Double
targetY Double
targetZ Double
flightTime Double

Returns

Void

Quick Summary

Launches character to target with calculated trajectory velocity (ballistic arc, gravity compensated). Takes characterHandle (character to launch), targetX/Y/Z (world position to reach), flightTime (duration in seconds to reach target). Returns nothing.

Technical Exegesis...

Launches character to target with calculated trajectory velocity (ballistic arc, gravity compensated). Takes characterHandle (character to launch), targetX/Y/Z (world position to reach), flightTime (duration in seconds to reach target). Returns nothing. Calculates velocity (vx,vy,vz) to reach target in specified time, applies as pendingImpulse, marks isInTrajectoryFlight true. Use for jump pads, launchers, catapults, grappling hooks, or scripted character arcs.

This function launches character to target.

Example

Example.bam
; No example implemented yet