public final class HingeConstraintComponent extends java.lang.Object implements IConstraintComponent
| Modifier and Type | Field and Description |
|---|---|
Vec3 |
axis |
float |
motorSpeed |
Vec3 |
pivot |
| Constructor and Description |
|---|
HingeConstraintComponent() |
| Modifier and Type | Method and Description |
|---|---|
GameObject |
getGameObject() |
void |
init(GameObject gameObject)
internal - don't call
|
void |
onActivate()
internal - don't call
|
void |
onDeactivate()
internal - don't call
|
void |
onDestroy()
internal - don't call
|
void |
start()
internal - don't call
|
public final Vec3 pivot
public final Vec3 axis
public float motorSpeed
public final GameObject getGameObject()
getGameObject in interface IComponentGameObject this component is attached topublic final void init(GameObject gameObject)
init in interface IComponentpublic final void start()
start in interface IComponentpublic void onActivate()
onActivate in interface IComponentpublic void onDeactivate()
onDeactivate in interface IComponentpublic void onDestroy()
onDestroy in interface IComponentBonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com