BoxColliderclass

Defines a box collider.

objectColliderBoxCollider
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.BoxCollider : Sandbox.Collider

Constructors1

Showing 1 constructors

Properties2

Showing 2 properties

public Vector3 Sandbox.BoxCollider.Center { get; set; }PUBLICGETSET

The center of the box relative to this GameObject

Returns:Vector3

public Vector3 Sandbox.BoxCollider.Scale { get; set; }PUBLICGETSET

The size of the box, from corner to corner.

Returns:Vector3

On this page