kool-editor-model
Toggle table of contents
0.18.0
common
Platform filter
common
Switch theme
Search in API
kool-editor-model
kool-editor-model
/
de.fabmax.kool.editor.data
/
RigidActorComponentData
Rigid
Actor
Component
Data
@
Serializable
data
class
RigidActorComponentData
(
val
actorType
:
RigidActorType
=
RigidActorType.STATIC
,
val
shapes
:
List
<
ShapeData
>
=
emptyList()
,
val
mass
:
Double
=
1.0
,
val
isTrigger
:
Boolean
=
false
,
val
characterControllerHitBehavior
:
HitActorBehavior
=
HitActorBehavior.SLIDE
,
val
materialId
:
EntityId
=
EntityId.NULL
)
:
ComponentData
Members
Constructors
Rigid
Actor
Component
Data
Link copied to clipboard
constructor
(
actorType
:
RigidActorType
=
RigidActorType.STATIC
,
shapes
:
List
<
ShapeData
>
=
emptyList()
,
mass
:
Double
=
1.0
,
isTrigger
:
Boolean
=
false
,
characterControllerHitBehavior
:
HitActorBehavior
=
HitActorBehavior.SLIDE
,
materialId
:
EntityId
=
EntityId.NULL
)
Properties
actor
Type
Link copied to clipboard
val
actorType
:
RigidActorType
character
Controller
Hit
Behavior
Link copied to clipboard
val
characterControllerHitBehavior
:
HitActorBehavior
is
Trigger
Link copied to clipboard
val
isTrigger
:
Boolean
=
false
mass
Link copied to clipboard
val
mass
:
Double
=
1.0
material
Id
Link copied to clipboard
val
materialId
:
EntityId
shapes
Link copied to clipboard
val
shapes
:
List
<
ShapeData
>