b3dSetPhysicsBodyMaterial

Sets physics body material type (stores materialType in body creation data for future use). Takes bodyHandle (physics body from b3dCreatePhysicsBody), materialType (integer material ID for categorization, 0=none/default). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

bodyHandle Int
materialType Int

Returns

Void

Quick Summary

Sets physics body material type (stores materialType in body creation data for future use). Takes bodyHandle (physics body from b3dCreatePhysicsBody), materialType (integer material ID for categorization, 0=none/default). Returns nothing.

Technical Exegesis...

Sets physics body material type (stores materialType in body creation data for future use). Takes bodyHandle (physics body from b3dCreatePhysicsBody), materialType (integer material ID for categorization, 0=none/default). Returns nothing. Stores material type in g_bodyCreationData, used for material-specific collision response, sound effects, or visual effects. Material metadata storage.

This function sets material type ID. Material type storage: stores materialType in PhysicsBodyData.

Example

Example.bam
; No example implemented yet