Game Development Reference
In-Depth Information
5.
Press P , after you click on the 3D view and test the collision. If the whale
doesn't return to the posiion, make sure Physics Type is set to Dynamic
(see the Physics properies tab, select the whale, and choose Dynamic ),
as shown in the following screenshot:
Change the rotaion value for a beter comprehension and visibility of the
Touch sensor. If it's ok, delete the rotaion value ater the test.
An observaion: the applicaions of forces and speeds that are not dynamic objects will have
no effect. They are not evaluated by the game engine and are considered fixed on the scene
perfectly, as they only move the objects in new posiions or speciic angles. To generate a
collision response, we must not only take into account the mass and fricion of the object,
but also that the object is marked as a dynamic type.
 
Search Nedrilad ::




Custom Search