Class BulletCollider3D<T>
The BulletCollider3D is a base class for all 3D colliders implemented by Bullet.
Inheritance
BulletCollider3D<T>
Inherited Members
Namespace: Evergine.Bullet
Assembly: Evergine.Bullet.dll
Syntax
public abstract class BulletCollider3D<T> : BulletCollider3D, IColliderShape3D, IDisposable where T : CollisionShape
Type Parameters
Name | Description |
---|---|
T | The Bullet collision shape type. |
Properties
InternalCollider
Gets the internal collider.
Declaration
public override object InternalCollider { get; }
Property Value
Type | Description |
---|---|
object |
Overrides
LocalScaling
Gets or setsthe local scaling.
Declaration
public override Vector3 LocalScaling { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Overrides
Methods
Dispose()
Dispose this collider 3D instance.
Declaration
public override void Dispose()
Overrides
TestPointByInsideMethod(ref Vector3, float)
Test if a point is inside of that shape.
Declaration
protected bool TestPointByInsideMethod(ref Vector3 point, float tolerance)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | point | The point in world coordinates. |
float | tolerance | The tolerance factor. |
Returns
Type | Description |
---|---|
bool | True if this point is inside the shape. |
TestPointByRayCast(ref Vector3, float)
Test if a point is inside of that shape.
Declaration
protected bool TestPointByRayCast(ref Vector3 point, float tolerance)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | point | The point in world coordinates. |
float | tolerance | The tolerance factor. |
Returns
Type | Description |
---|---|
bool | True if this point is inside the shape. |