Class CollisionSphere
This is a shape that has a position and a radius.
Inherited Members
Namespace: Slipe.Shared.CollisionShapes
Assembly: SlipeShared.dll
Syntax
public class CollisionSphere : CollisionShape
Constructors
| Improve this Doc View SourceCollisionSphere(Vector3, Single)
Creates a collision sphere from a position and radius
Declaration
public CollisionSphere(Vector3 position, float radius)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | position | |
Single | radius |