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 |
|---|---|
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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGameObjectpublic final Vec3 pivot
public final Vec3 axis
public float motorSpeed
public 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.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com