Static Objects
Static objects are objects that can neither move nor be moved in a game. They participate in collisions, but they do not visually respond to collisions.
Last updated
Static objects are objects that can neither move nor be moved in a game. They participate in collisions, but they do not visually respond to collisions.
Last updated
This type of object is perfect for ground, walls, stones, and other heavy objects that serve as a physical environment where your game takes place. The simplest example is a flat plane. The one you would use to create a basketball court, for example.
To make an object static, select an object in a scene in the Edit mode, go to the Physics tab in the Inspector panel, and turn the Physics on. The object will become physical and static by default.
The screenshot below demonstrates the Physics tab settings for a static floor object.
Static objects have the following parameters:
Friction. The friction of a static object defines how easily other objects will slide over its surface. By default, the friction is set to 100. If you set the friction of a static object to 0, other objects will slide endlessly over its surface.
Bounciness. The bounciness of a static object defines how far other objects will move away from its surface after they hit it. By default, the bounciness is set to 50. The higher the value, the bouncier the surface of a static object will be. If you set the bounciness of a static object to 0, other objects will not bounce on or off its surface at all.
Wall. This setting is used to define whether or not a game character can climb up a given object.
Rigidbody Enabled/Disabled
Rigidbody Type
Friction
Bounciness