|
@@ -519,7 +519,7 @@ All physical objects…
|
|
|
|
|
|
|
|
a|Examples
|
|
a|Examples
|
|
|
a|Immobile obstacles: Floors, walls, buildings, …
|
|
a|Immobile obstacles: Floors, walls, buildings, …
|
|
|
-a|Remote-controlled solid objects: Airships, meteorites, elevators, doors networked or remote-controlled NPCs invisible “airhooks for hinges and joints.
|
|
|
|
|
|
|
+a|Remote-controlled solid objects: Airships, meteorites, elevators, doors; networked or remote-controlled NPCs; invisible “airhooks for hinges and joints.
|
|
|
a|Interactive objects: Rolling balls, movable crates, falling pillars, zero-g space ship…
|
|
a|Interactive objects: Rolling balls, movable crates, falling pillars, zero-g space ship…
|
|
|
|
|
|
|
|
a|Does it have a mass?
|
|
a|Does it have a mass?
|
|
@@ -529,13 +529,13 @@ a|yes, >0.0f
|
|
|
|
|
|
|
|
a|How does it move?
|
|
a|How does it move?
|
|
|
a|never
|
|
a|never
|
|
|
-a|setLocalTranslation()
|
|
|
|
|
-a|setLinearVelocity(); applyForce(); +setWalkDirection() for CharacterControl
|
|
|
|
|
|
|
+a|setLocalTranslation();
|
|
|
|
|
+a|setLinearVelocity(); applyForce(); +setWalkDirection(); for CharacterControl
|
|
|
|
|
|
|
|
a|How to place in scene?
|
|
a|How to place in scene?
|
|
|
-a|setPhysicsLocation() +setPhysicsRotation()
|
|
|
|
|
-a|setLocalTranslation() +setLocalRotation()
|
|
|
|
|
-a|setPhysicsLocation() +setPhysicsRotation()
|
|
|
|
|
|
|
+a|setPhysicsLocation(); +setPhysicsRotation();
|
|
|
|
|
+a|setLocalTranslation(); +setLocalRotation();
|
|
|
|
|
+a|setPhysicsLocation(); +setPhysicsRotation();
|
|
|
|
|
|
|
|
a|Can it move and push others?
|
|
a|Can it move and push others?
|
|
|
a|no
|
|
a|no
|
|
@@ -548,9 +548,9 @@ a|no
|
|
|
a|yes
|
|
a|yes
|
|
|
|
|
|
|
|
a|How to activate this behaviour?
|
|
a|How to activate this behaviour?
|
|
|
-a|setMass(0f) +setKinematic(false)
|
|
|
|
|
-a|setMass(1f) +setKinematic(true)
|
|
|
|
|
-a|setMass(1f) +setKinematic(false)
|
|
|
|
|
|
|
+a|setMass(0f); +setKinematic(false);
|
|
|
|
|
+a|setMass(1f); +setKinematic(true);
|
|
|
|
|
+a|setMass(1f); +setKinematic(false);
|
|
|
|===
|
|
|===
|
|
|
|
|
|
|
|
|
|
|