Click or drag to resize

Mesh Shape 2D

Capsule Shape 2DManual / Base Types / 2D / Mesh Shape 2DRevolute Constraint 2D

Mesh Shape 2D

Mesh-based 2D collision shape.

Overview
Properties
Name Description
Transform Relative To Parent The position, rotation and scale of the object relative to parent.
Friction The amount of friction applied on the shape.
Restitution The ratio of the final relative velocity to initial relative velocity of the shape after collision.
Collision Categories The collision categories this fixture is a part of.
Collides With The collision mask bits. This states the categories that this fixture would accept for collision.
Collision Group Collision groups allow a certain group of objects to never collide(negative) or always collide (positive). Zero means no collision group. Non-zero group filtering always wins against the mask bits.
Name Description
Mesh The mesh used by the collision shape.
Vertices The reference to the vertex array of the mesh.
Indices The reference to the index array of the mesh.
Shape Type Defines the type of collision shape being created internally.
See also
Capsule Shape 2DRevolute Constraint 2D