unecht ~master (2017-06-11T11:53:32Z)
Dub
Repo
UEPhysicsBody
unecht
core
components
physics
dynamic
final
@
UEDefaultInspector
!
UEPhysicsBody
class
UEPhysicsBody :
UEComponent
{
void
addForce
(vec3 _v);
void
setDamping
(float _v);
vec3
getVelocity
();
void
setVelocity
(vec3 _v);
void
onCreate
();
void
onDestroy
();
void
onUpdate
();
package
dBodyID
Body
;
}
Members
Functions
addForce
void
addForce
(vec3 _v)
Undocumented in source. Be warned that the author may not have intended to support it.
getVelocity
vec3
getVelocity
()
Undocumented in source. Be warned that the author may not have intended to support it.
onCreate
void
onCreate
()
Undocumented in source. Be warned that the author may not have intended to support it.
onDestroy
void
onDestroy
()
Undocumented in source. Be warned that the author may not have intended to support it.
onUpdate
void
onUpdate
()
setDamping
void
setDamping
(float _v)
Undocumented in source. Be warned that the author may not have intended to support it.
setVelocity
void
setVelocity
(vec3 _v)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
Body
dBodyID
Body
;
Undocumented in source.
Inherited Members
From UEComponent
onUpdate
void
onUpdate
()
onCreate
void
onCreate
()
onDestroy
void
onDestroy
()
onCollision
void
onCollision
(UEComponent )
enabled
bool
enabled
[@property getter]
enabled
bool
enabled
[@property setter]
entity
UEEntity
entity
[@property getter]
sceneNode
UESceneNode
sceneNode
[@property getter]
registerEvent
void
registerEvent
(UEEventType _type, UEEventCallback _callback)
helper
getMenuItems
void
getMenuItems
(EditorMenuItem[] items)
setEntity
void
setEntity
(UEEntity _entity)
Meta
Source
See Implementation
unecht
core
components
physics
dynamic
classes
UEPhysicsBody