HullColliderclass

Defines a box, cone, or cylinder hull collider.

objectColliderHullCollider
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.HullCollider : Sandbox.Collider

Constructors1

Showing 1 constructors

Properties8

Showing 8 properties

public Vector3 Sandbox.HullCollider.BoxSize { get; set; }PUBLICGETSET

The size of the box, from corner to corner.

Returns:Vector3

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

The center of the primitive relative to this GameObject.

Returns:Vector3

public float Sandbox.HullCollider.Height { get; set; }PUBLICGETSET

Returns:float

public float Sandbox.HullCollider.Radius { get; set; }PUBLICGETSET

Returns:float

public float Sandbox.HullCollider.Radius2 { get; set; }PUBLICGETSET

Returns:float

public int Sandbox.HullCollider.Slices { get; set; }PUBLICGETSET

Returns:int

On this page