rattle-parent
0.1.1-SNAPSHOT
jvm
rattle-common
/
io.github.aecsocket.rattle.world
/
SimpleBodies
/
Instance
Instance
abstract
inner
class
Instance
(
val
collider
:
ColliderKey
,
val
body
:
RigidBodyKey
,
scale
:
FVec3
,
position
:
DIso3
)
Members
Constructors
Instance
Link copied to clipboard
constructor
(
collider
:
ColliderKey
,
body
:
RigidBodyKey
,
scale
:
FVec3
,
position
:
DIso3
)
Properties
body
Link copied to clipboard
val
body
:
RigidBodyKey
collider
Link copied to clipboard
val
collider
:
ColliderKey
destroyed
Link copied to clipboard
val
destroyed
:
DestroyFlag
position
Link copied to clipboard
var
position
:
DIso3
render
Link copied to clipboard
open
val
render
:
ItemRender
?
=
null
Functions
on
Track
Link copied to clipboard
fun
onTrack
(
render
:
ItemRender
)
on
Untrack
Link copied to clipboard
fun
onUntrack
(
render
:
ItemRender
)
on
Update
Link copied to clipboard
fun
onUpdate
(
)
:
Boolean