namespace Physics
This namespace contains:
| class BallSocketJoint | A ballsocket constraint. |
| class CollisionRules | This is a JSON serializable description of the physics's collision rules. This allows us to send it to the engine - and store it in a string table (which is networked to the client). You shouldn't really ever have to mess with this, it's just used internally. |
| struct CollisionRules.Pair | A pair of case- and order-insensitive tags, used as a key to look up a . |
| struct CollisionRules.Result | Result of a collision between two objects. |
| class FixedJoint | A generic "rope" type constraint. |
| class HingeJoint | A hinge-like constraint. |
| class PhysicsJoint | A physics constraint. |
| struct PhysicsPoint | Used to describe a point on a physics body. This is used for things like joints where you want to pass in just a body, or sometimes you want to pass in a body with a specific location and rotation to attach to. |
| class PhysicsSettings | |
| struct PhysicsSpring | Spring related settings for joints such as . |
| class PulleyJoint | A pulley constraint. Consists of 2 ropes which share same length, and the ratio changes via physics interactions. Typical setup looks like this: @-----------------@ | | | | Object A Object B |
| class SliderJoint | A slider constraint, basically allows movement only on the arbitrary axis between the 2 constrained objects on creation. |
| class SpringJoint | A rope-like constraint that is has springy/bouncy. |