# Sandbox.PhysicsShape

Represents a basic, convex shape. A [PhysicsBody](/api/Sandbox.PhysicsBody) consists of one or more of these.

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Modifiers: sealed

## Properties

- [`Body`](/api/Sandbox.PhysicsShape/Body): The physics body we belong to.
- [`Capsule`](/api/Sandbox.PhysicsShape/Capsule): Get capsule properties if we're a capsule type
- [`Collider`](/api/Sandbox.PhysicsShape/Collider): The collider object that created / owns this shape
- [`EnableSolidCollisions`](/api/Sandbox.PhysicsShape/EnableSolidCollisions): Controls whether this shape has solid collisions.
- [`EnableTouch`](/api/Sandbox.PhysicsShape/EnableTouch): Controls whether this shape can fire touch events for its owning entity. (Entity.StartTouch, Touch and EndTouch)
- [`EnableTouchPersists`](/api/Sandbox.PhysicsShape/EnableTouchPersists): Controls whether this shape can fire continuous touch events for its owning entity (i.e. calling Entity.Touch every frame). Persist events are only sent while the contact is awake, sleeping contacts don't emit them.
- [`Friction`](/api/Sandbox.PhysicsShape/Friction): The friction value
- [`IsCapsuleShape`](/api/Sandbox.PhysicsShape/IsCapsuleShape): Is this a CapsuleShape
- [`IsHeightfieldShape`](/api/Sandbox.PhysicsShape/IsHeightfieldShape): Is this a HeightfieldShape
- [`IsHullShape`](/api/Sandbox.PhysicsShape/IsHullShape): Is this a HullShape
- [`IsMeshShape`](/api/Sandbox.PhysicsShape/IsMeshShape): Is this a MeshShape
- [`IsSphereShape`](/api/Sandbox.PhysicsShape/IsSphereShape): Is this a SphereShape
- [`IsTrigger`](/api/Sandbox.PhysicsShape/IsTrigger): This is a trigger (!)
- [`Scale`](/api/Sandbox.PhysicsShape/Scale)
- [`Sphere`](/api/Sandbox.PhysicsShape/Sphere): Get sphere properties if we're a sphere type
- [`Surface`](/api/Sandbox.PhysicsShape/Surface)
- [`SurfaceMaterial`](/api/Sandbox.PhysicsShape/SurfaceMaterial): Controls physical properties of this shape.
- [`Surfaces`](/api/Sandbox.PhysicsShape/Surfaces): Multiple surfaces referenced by mesh or heightfield collision.
- [`SurfaceVelocity`](/api/Sandbox.PhysicsShape/SurfaceVelocity): Set the local velocity of the surface so things can slide along it, like a conveyor belt
- [`Tags`](/api/Sandbox.PhysicsShape/Tags)

## Methods

- [`AddTag`](/api/Sandbox.PhysicsShape/AddTag): Add a tag to this shape.
- [`ClearTags`](/api/Sandbox.PhysicsShape/ClearTags): Clear all tags from this shape.
- [`DisableAllCollision`](/api/Sandbox.PhysicsShape/DisableAllCollision): Disable contact, trace and touch
- [`EnableAllCollision`](/api/Sandbox.PhysicsShape/EnableAllCollision): Enable contact, trace and touch
- [`HasTag`](/api/Sandbox.PhysicsShape/HasTag): Does this shape have a specific tag?
- [`Remove`](/api/Sandbox.PhysicsShape/Remove): Remove this shape. After calling this the shape should be considered released and not used again.
- [`RemoveTag`](/api/Sandbox.PhysicsShape/RemoveTag): Remove a tag from this shape.
- [`Triangulate`](/api/Sandbox.PhysicsShape/Triangulate): Triangulate this shape.
- [`UpdateHull`](/api/Sandbox.PhysicsShape/UpdateHull)
- [`UpdateMesh`](/api/Sandbox.PhysicsShape/UpdateMesh)
