Collider

from acron.actor import Collider
class Collider(**props)

Bases: Component

A collision shape fitted to the actor’s model bounds: box, sphere or mesh (triangle mesh from the model’s geometry). mask is 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.

type coerces assigned values (Vec3, float, str, bool, a color, or any callable); default may be a value or a zero-arg factory. Flags: edit (shown in the inspector), save (written to the scene file), replicate (networked; on_rep names the callback), pin (exposed as a blueprint pin). fget/fset make the prop a view over engine state (the NodePath transform) instead of stored data. hint / range / doc are metadata for tools.

shape

A declared property.

type coerces assigned values (Vec3, float, str, bool, a color, or any callable); default may be a value or a zero-arg factory. Flags: edit (shown in the inspector), save (written to the scene file), replicate (networked; on_rep names the callback), pin (exposed as a blueprint pin). fget/fset make the prop a view over engine state (the NodePath transform) instead of stored data. hint / range / doc are metadata for tools.

type_name = 'acron:Collider'