b3dScaleEntity

Sets entity scale factors (modifies transform and rescales physics body if attached). Takes entity (entity handle), scaleX (X-axis scale factor), scaleY (Y-axis scale factor), scaleZ (Z-axis scale factor). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

entity Int
scaleX Double
scaleY Double
scaleZ Double

Returns

Void

Quick Summary

Sets entity scale factors (modifies transform and rescales physics body if attached). Takes entity (entity handle), scaleX (X-axis scale factor), scaleY (Y-axis scale factor), scaleZ (Z-axis scale factor). Returns nothing.

Technical Exegesis...

Sets entity scale factors (modifies transform and rescales physics body if attached). Takes entity (entity handle), scaleX (X-axis scale factor), scaleY (Y-axis scale factor), scaleZ (Z-axis scale factor). Returns nothing. Validates entity exists, if physicsBodyHandle!=0 calls RescalePhysicsBody to resize collision shape, always sets entity.scale=XMFLOAT3(scaleX, scaleY, scaleZ), marks worldMatrixDirty=true to trigger matrix recalculation. Modifies entity visual scale and physics collision shape.

Example

Example.bam
; No example implemented yet