Collider¶
from acron.actor import Collider
- class Collider(**props)¶
Bases:
ComponentA collision shape fitted to the actor’s model bounds:
box,sphereormesh(triangle mesh from the model’s geometry).maskis the Bullet collide mask.Inheritance diagram
digraph inheritance941f698358 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "Collider" [URL="acron.actor.Collider.html#acron.actor.Collider",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="A collision shape fitted to the actor's model bounds: ``box``, ``sphere``"]; "Component" -> "Collider" [arrowsize=0.75,style=""]; "Component" [URL="acron.actor.Component.html#acron.actor.Component",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="A bag of declared props with a lifecycle bound to its actor."]; }- property ghost¶
- gizmo = 'bounds'¶
- mask¶
A declared property.
typecoerces assigned values (Vec3,float,str,bool, a color, or any callable);defaultmay be a value or a zero-arg factory. Flags:edit(shown in the inspector),save(written to the scene file),replicate(networked;on_repnames the callback),pin(exposed as a blueprint pin).fget/fsetmake the prop a view over engine state (the NodePath transform) instead of stored data.hint/range/docare metadata for tools.
- shape¶
A declared property.
typecoerces assigned values (Vec3,float,str,bool, a color, or any callable);defaultmay be a value or a zero-arg factory. Flags:edit(shown in the inspector),save(written to the scene file),replicate(networked;on_repnames the callback),pin(exposed as a blueprint pin).fget/fsetmake the prop a view over engine state (the NodePath transform) instead of stored data.hint/range/docare metadata for tools.
- type_name = 'acron:Collider'¶