Retrieves the bounding box of all components of the actor
public void GetBounds(bool onlyCollidingComponents, ref System.Numerics.Vector3 origin, ref System.Numerics.Vector3 extent);
onlyCollidingComponents
System.Boolean
If true
, will only return the bounding box for components with enabled collision
origin
System.Numerics.Vector3
The center of the actor in world space
extent
System.Numerics.Vector3
Half the actor's size in 3D space