для этой страницы,
отображается код на другом
A dummy object is an object that is not present in the world visually but shares all properties that other objects have. It is similar to the dummy node except for the possibility of assigning a physical body to it.
It is usually used as an invisible object with physics properties and can also serve as a root node to organize objects in a hierarchy. Also, for example, it can be used as a base object to hold visible physical object fixed by using joints.
- The ObjectDummy class to edit dummy objects via API
Adding a Dummy Object#
To add a dummy object to the scene via UnigineEditor do the following:
- Run UnigineEditor.
- On the Menu bar, click Create -> Physics -> Object Dummy.
- Place the dummy object somewhere in the world.