API Referenceglobal
Boxclass
A single hitbox on the model. This can be a box, sphere or capsule.
object→Box
Properties7
Showing 7 properties
public Sandbox.BoneCollection.Bone Sandbox.HitboxSet.Box.Bone { get; set; }
public string Sandbox.HitboxSet.Box.Name { get; set; }
Returns:
string—public Vector3 Sandbox.HitboxSet.Box.RandomPointInside { get; set; }
Get a random point inside this hitbox
public Vector3 Sandbox.HitboxSet.Box.RandomPointOnEdge { get; set; }
Get a random point on the edge this hitbox
public object Sandbox.HitboxSet.Box.Shape { get; set; }
Either a Sphere, Capsule or BBox
Returns:
object—public string Sandbox.HitboxSet.Box.SurfaceName { get; set; }
Returns:
string—No results match this filter.