KinBody2D

Undocumented in source.

Members

Functions

apply_motion
void apply_motion(Vector2 pos_delta)
Undocumented in source. Be warned that the author may not have intended to support it.
setup
void setup()
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin Reflect
Undocumented in source.

Properties

angle
float angle [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
angle
float angle [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
momentum
Vector2 momentum [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
pos
Vector2 pos [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
pos
Vector2 pos [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
stdAngle
float stdAngle [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
stdAngle
float stdAngle [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

accel
Vector2 accel;
Undocumented in source.
angular_accel
float angular_accel;
Undocumented in source.
angular_drag
float angular_drag;
Undocumented in source.
angular_velocity
float angular_velocity;
Undocumented in source.
drag
Vector2 drag;
Undocumented in source.
mass
float mass;
Undocumented in source.
max_angular
float max_angular;
Undocumented in source.
max_velocity
Vector2 max_velocity;
Undocumented in source.
velocity
Vector2 velocity;
Undocumented in source.

Inherited Members

From Component

__anonymous
mixin Reflect
Undocumented in source.
entity
Entity entity;

owner entity

setup
void setup()

initialize the component. entity is already set.

destroy
void destroy()

release resources and clean up

transform
Transform transform [@property getter]

forward to entity.transform

From Updatable

update
void update()
Undocumented in source.

Meta