Click or drag to resize

Box Shape 2D

Rigid Body 2DManual / Base Types / 2D / Box Shape 2DEllipse Shape 2D

Box Shape 2D

Box-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 or always collide. Zero means no collision group. Non-zero group filtering always wins against the mask bits.
Name Description
Dimensions The size of the box.
See also
Rigid Body 2DEllipse Shape 2D