|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectcom.jme3.bullet.collision.PhysicsCollisionObject
com.jme3.bullet.objects.PhysicsRigidBody
com.jme3.bullet.objects.PhysicsVehicle
com.jme3.bullet.control.VehicleControl
public class VehicleControl
| フィールドの概要 |
|---|
| コンストラクタの概要 | |
|---|---|
VehicleControl()
|
|
VehicleControl(CollisionShape shape)
Creates a new PhysicsNode with the supplied collision shape |
|
VehicleControl(CollisionShape shape,
float mass)
|
|
| メソッドの概要 | |
|---|---|
Control |
cloneForSpatial(Spatial spatial)
Creates a clone of the Control, the given Spatial is the cloned version of the spatial to which this control is attached to. |
PhysicsSpace |
getPhysicsSpace()
|
boolean |
isApplyPhysicsLocal()
|
boolean |
isEnabled()
|
void |
read(JmeImporter im)
|
void |
render(RenderManager rm,
ViewPort vp)
Should be called prior to queuing the spatial by the RenderManager. |
void |
setApplyPhysicsLocal(boolean applyPhysicsLocal)
When set to true, the physics coordinates will be applied to the local translation of the Spatial |
void |
setEnabled(boolean enabled)
The physics object is removed from the physics space when the control is disabled. |
void |
setPhysicsSpace(PhysicsSpace space)
|
void |
setSpatial(Spatial spatial)
|
void |
update(float tpf)
Updates the control. |
void |
write(JmeExporter ex)
|
| クラス com.jme3.bullet.collision.PhysicsCollisionObject から継承されたメソッド |
|---|
addCollideWithGroup, createDebugShape, debugShape, detachDebugShape, getCollideWithGroups, getCollisionGroup, getCollisionShape, getUserObject, removeCollideWithGroup, setCollideWithGroups, setCollisionGroup, setUserObject |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public VehicleControl()
public VehicleControl(CollisionShape shape)
child - shape -
public VehicleControl(CollisionShape shape,
float mass)
| メソッドの詳細 |
|---|
public boolean isApplyPhysicsLocal()
public void setApplyPhysicsLocal(boolean applyPhysicsLocal)
applyPhysicsLocal - public Control cloneForSpatial(Spatial spatial)
Control の記述:
Control 内の cloneForSpatialpublic void setSpatial(Spatial spatial)
Control 内の setSpatialspatial - the spatial to be controlled. This should not be called
from user code.public void setEnabled(boolean enabled)
PhysicsControl の記述:
PhysicsControl 内の setEnabledControl 内の setEnabledenabled - Enable or disable the control. If disabled, update()
should do nothing.public boolean isEnabled()
Control 内の isEnabledControl.setEnabled(boolean)public void update(float tpf)
Control の記述:
Control 内の updatetpf - Time per frame.
public void render(RenderManager rm,
ViewPort vp)
Control の記述:
Control 内の renderpublic void setPhysicsSpace(PhysicsSpace space)
PhysicsControl 内の setPhysicsSpacepublic PhysicsSpace getPhysicsSpace()
PhysicsControl 内の getPhysicsSpace
public void write(JmeExporter ex)
throws java.io.IOException
Savable 内の writePhysicsVehicle 内の writejava.io.IOException
public void read(JmeImporter im)
throws java.io.IOException
Savable 内の readPhysicsVehicle 内の readjava.io.IOException
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||