Wiki Article 05. Physics Object

Status
The first post in this thread is a WikiPost, and can be edited by anyone with the appropriate permissions.
Physics Object

pasted image 0 (18).png



pasted image 0.png
“Name Space” This will display the name of the currently selected Atom. You can rename it here as well.


VaM Atoms are made of two significant parts. The Atom Control and The Physics Object. The “Atom Control” (Green Square) is the node that you select and gives you access to all of the Atom’s control settings. The “Physics Object” (Circled In White) is the physical object that you interact with in VaM. When working with any of the physics settings for Atoms they are only affecting the Physics Object and not the Atom Control. In essence the majority of the settings in the Physics panels change the way the Physics Object interacts with its Atom Control. You are encouraged to set up simple tests such as the examples shown to become familiar with how Atom Physics work inside VaM.

PhysicsObject.gif
The Physics Object panel is Vam is about the interactions between two or more Physics Objects within the VaM scene.

With that said it is very important to be aware of the settings for all the objects that are interacting within the physics environment to get the desired results.

For more detailed information on how these physics settings work inside Unity please refer to this page in the Unity documentation which much of the following information is drawn from. Physic Material












pasted image 0 (1).png
“Collision” Toggles mesh collision on the Physics Object on/off.
This is very handy when positioning objects in a scene and you do not want it to interfere with the surrounding objects.


“Static Friction” and “Dynamic Friction” work hand in hand with each other.
With both dropped to “0” you can have an object slide around on a surface like an air hockey puck.
With both taken to “1” the object is like a heavy rock difficult to move and to keep moving.

pasted image 0 (2).png
”Static Friction” This is the friction used when the Physics Object is resting in place and isn’t moving, as well as the amount of friction used to bring the object to a stop after it is in motion.
This value can only be between 0 and 1. A lower value makes it very easy to be moved and takes much longer to bring to a stop, a higher value makes it much more difficult to move and brings the object to a stop much more quickly.


pasted image 0 (3).png
”Dynamic Friction” This is the friction used once force has been applied to the Physics Object and it is in motion.
This value can only be between 0 and 1. A lower value will make the object move very easily across the surface.
A higher value will make it very difficult to keep moving.



pasted image 0 (4).png
”Bounciness” This value can only be between 0 and 1. A lower value of “0” which is default means that the object will not bounce at all.
A value of “1” will mean that the object will bounce very easily and not lose any velocity.



The “Friction Combine” and the “Bounce Combine” are all about how two separate Physics Objects interact within the scene.
There is a priority system to these settings when two objects interact using different Combine settings.
To quote from Physic Material: The priority order is as follows: Average < Minimum < Multiply < Maximum. For example, if one material has Average set but the other one has Maximum, then the Combine function to be used is Maximum, since it has higher priority.

pasted image 0 (5).png
”Friction Combine”



pasted image 0 (6).png
”Bounce Combine”



pasted image 0 (7).png
“Average” Will take the average of the settings from the two objects interacting and use that.


pasted image 0 (8).png
”Multiply” Will multiply the settings of the two objects.


pasted image 0 (9).png
”Minimum” Will take the smaller of the two interacting values.


pasted image 0 (10).png
”Maximum” Will take the larger of the two interacting values.



BounceMultiply.gif
This is an example of both the floor and the cone having ”Bounciness” set to “1” and ”Bounce Combine” set to ”Multiply”.

This causes the cone to bounce higher and higher as it’s bounce force is multiplied with the Box's bounce force.







This is an example of priority in the Combine settings:
MinMaxCombine.gif












pasted image 0 (11).png
The Cone in the example above has “Static Friction” and “Dynamic Friction” set to “0.100” and it’s “Friction Combine” is set to “Average”.

pasted image 0 (12).png
The Box it is on has it’s “Static Friction” and “Dynamic Friction” set to “1.00”.







pasted image 0 (13).png
On the left side of the example, the Box’s “Friction Combine” is set to ”Maximum” so the Cone takes the “Static Friction” and “Dynamic Friction” of the box as it’s primary physics settings.


pasted image 0 (14).png
On the right side of the example, the Box’s “Friction Combine” is switched to ”Minimum” causing the Cone to use it’s own settings and now slides around the box.



pasted image 0 (15).png
”Max Velocity Enable” Toggling this on allows you to adjust the maximum velocity of the Physics Object. By default this is toggled “on”.


pasted image 0 (16).png
”Max Velocity” By default this is set to”10” Which translates to 10 meters per second. Lowering this slows down a Mesh Object’s speed. Increasing this speeds them up.




pasted image 0 (17).png
”Drag” Affects how quickly the position of an object will slow down. Increasing this will make the object slow down a lot faster. Decreasing this will cause the object to take a longer time to slow down.




pasted image 0 (19).png
”Angular Drag” Affects how quickly the rotation speed of the mesh object will slow down.




pasted image 0 (20).png
”Mass” Increases the mass of the Atom mesh object in physics simulations. Giving it more force when interacting with objects of lesser mass.




Please note that not all Atoms have scaling along independent axes and some environments can not be scaled.

pasted image 0 (21).png
”Scale X” Scales the atom along it’s X axis.




pasted image 0 (22).png
”Scale Y” Scales the atom along it’s Y axis.




pasted image 0 (23).png
”Scale Z” Scales the atom along it’s Z axis.




pasted image 0 (24).png
”Scale” Scales the Atom equally along all axes.




pasted image 0 (25).png
“Use Gravity When Position Off” Gravity will affect the mesh object in physics simulations when Position is set to Off in the Atom Control Tab.


pasted image 0 (26).png
”Physics” Toggling this on means that the atom’s mesh object will be active in physics simulations.
 
Last edited:
Status
The first post in this thread is a WikiPost, and can be edited by anyone with the appropriate permissions.

Similar threads

Replies
0
Views
114
Replies
0
Views
455
  • Article
Wiki Wiki Article 02. Move
Replies
0
Views
470
Back
Top Bottom