b3dSetLaunchResponse

Sets per-entity collision response (0=SLIDE normal, 1=STOP dead stop, 2=BOUNCE elastic bounce, overrides default). Takes characterHandle (character controller), entityHandle (specific entity for custom collision response), responseType (0=SLIDE normal collision sliding, 1=STOP halt on contact, 2=BOUNCE reflect velocity). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

characterHandle Int
entityHandle Int
responseType Int

Returns

Void

Quick Summary

Sets per-entity collision response (0=SLIDE normal, 1=STOP dead stop, 2=BOUNCE elastic bounce, overrides default). Takes characterHandle (character controller), entityHandle (specific entity for custom collision response), responseType (0=SLIDE normal collision sliding, 1=STOP halt on contact, 2=BOUNCE reflect velocity). Returns nothing.

Technical Exegesis...

Sets per-entity collision response (0=SLIDE normal, 1=STOP dead stop, 2=BOUNCE elastic bounce, overrides default). Takes characterHandle (character controller), entityHandle (specific entity for custom collision response), responseType (0=SLIDE normal collision sliding, 1=STOP halt on contact, 2=BOUNCE reflect velocity). Returns nothing. Stores entity-specific launch response in data.entityLaunchResponses map, overrides default collision behavior when character hits this entity.

Example

Example.bam
; No example implemented yet