![]() |
|
公開メンバ関数 | |
| PhysicsBase (IntPtr ptr) | |
| void | lockUpdate () |
| void | unlockUpdate () |
| void | setGravity (float x, float y, float z) |
| void | removeRigidBody (RigidBody r) |
| void | removeCollider (Collider c) |
| void | removeVehicle (Vehicle v) |
| bool | rayCast (SharpKmyMath.Vector3 from, SharpKmyMath.Vector3 to, UInt16 mask, RayCastHit hit) |
| bool | rayCast (SharpKmyMath.Vector3 from, SharpKmyMath.Vector3 to, UInt16 mask, RayCastHit hit, PhysicsNotifyTarget self) |
| bool | rayCast (SharpKmyMath.Vector3 from, SharpKmyMath.Vector3 to, UInt16 mask, RayCastHit hit, PhysicsNotifyTarget self, UInt16 type) |
| bool | rayCast (SharpKmyMath.Vector3 from, SharpKmyMath.Vector3 to, UInt16 mask, RayCastHit hit, PhysicsNotifyTarget self, UInt16 type, int fellowId) |
| bool | convexSweepTest (float radius, float height, SharpKmyMath.Vector3 from, SharpKmyMath.Vector3 to, UInt16 mask, RayCastHit hit) |
| bool | convexSweepTest (float radius, float height, SharpKmyMath.Vector3 from, SharpKmyMath.Vector3 to, UInt16 mask, RayCastHit hit, PhysicsNotifyTarget self, UInt16 type) |
| bool | convexSweepTest (float radius, float height, SharpKmyMath.Vector3 from, SharpKmyMath.Vector3 to, UInt16 mask, RayCastHit hit, PhysicsNotifyTarget self, UInt16 type, int fellowId) |
| Collider | createBoxCollider (float halfWidth, float halfHeight, float halfDepth, SharpKmyMath.Matrix4 mtx, UInt16 group, UInt16 mask) |
| Collider | createSphereCollider (float radius, SharpKmyMath.Matrix4 mtx, UInt16 group, UInt16 mask) |
| Collider | createCapsuleCollider (float radius, float height, SharpKmyMath.Matrix4 mtx, UInt16 group, UInt16 mask, int axis) |
| Collider | createTriMeshCollider (float[] vertices, UInt16[] indices, SharpKmyMath.Matrix4 mtx, SharpKmyMath.Vector3 scl, UInt16 group, UInt16 mask, int verticesCount, int indicesCount) |
| Collider | createTriMeshCollider (System.Guid guid, SharpKmyMath.Matrix4 mtx, SharpKmyMath.Vector3 scl, UInt16 group, UInt16 mask) |
| Collider | createCompoundCollider (float[] boxes, SharpKmyMath.Matrix4 mtx, SharpKmyMath.Vector3 scl, UInt16 group, UInt16 mask) |
| RigidBody | createBoxRigidBody (float halfWidth, float halfHeight, float halfDepth, float mass, bool kinematic, SharpKmyMath.Matrix4 mtx, UInt16 group, UInt16 mask) |
| RigidBody | createSphereRigidBody (float radius, float mass, bool kinematic, SharpKmyMath.Matrix4 mtx, UInt16 group, UInt16 mask) |
| RigidBody | createCapsuleRigidBody (float radius, float height, float mass, bool kinematic, SharpKmyMath.Matrix4 mtx, UInt16 group, UInt16 mask, int axis) |
| RigidBody | createCompoundRigidBody (float[] boxes, float mass, bool kinematic, SharpKmyMath.Matrix4 mtx, SharpKmyMath.Vector3 scl, UInt16 group, UInt16 mask) |
| RigidBody | createTriMeshRigidBody (System.Guid guid, SharpKmyMath.Vector3 massCenter, float mass, bool kinematic, SharpKmyMath.Matrix4 mtx, SharpKmyMath.Vector3 scl, UInt16 group, UInt16 mask) |
| Vehicle | createVehicle (float width, float height, float depth, float wheelRadius, float wheelWidth, float wheelFriction, float suspensionRestLength, float connectionHeight, float suspensionStiffness, float suspensionDamping, float suspensionCompression, float rigidbodyOffsetX, float rigidbodyOffsetY, float rigidbodyOffsetZ, float positionX, float positionY, float positionZ, float mass) |
| void | update (float delta) |
| DebugDrawError | getDebugDrawError () |
| SharpKmyPhysics.PhysicsBase.PhysicsBase | ( | IntPtr | ptr | ) |
| bool SharpKmyPhysics.PhysicsBase.convexSweepTest | ( | float | radius, |
| float | height, | ||
| SharpKmyMath.Vector3 | from, | ||
| SharpKmyMath.Vector3 | to, | ||
| UInt16 | mask, | ||
| RayCastHit | hit | ||
| ) |
| bool SharpKmyPhysics.PhysicsBase.convexSweepTest | ( | float | radius, |
| float | height, | ||
| SharpKmyMath.Vector3 | from, | ||
| SharpKmyMath.Vector3 | to, | ||
| UInt16 | mask, | ||
| RayCastHit | hit, | ||
| PhysicsNotifyTarget | self, | ||
| UInt16 | type | ||
| ) |
| bool SharpKmyPhysics.PhysicsBase.convexSweepTest | ( | float | radius, |
| float | height, | ||
| SharpKmyMath.Vector3 | from, | ||
| SharpKmyMath.Vector3 | to, | ||
| UInt16 | mask, | ||
| RayCastHit | hit, | ||
| PhysicsNotifyTarget | self, | ||
| UInt16 | type, | ||
| int | fellowId | ||
| ) |
| Collider SharpKmyPhysics.PhysicsBase.createBoxCollider | ( | float | halfWidth, |
| float | halfHeight, | ||
| float | halfDepth, | ||
| SharpKmyMath.Matrix4 | mtx, | ||
| UInt16 | group, | ||
| UInt16 | mask | ||
| ) |
| RigidBody SharpKmyPhysics.PhysicsBase.createBoxRigidBody | ( | float | halfWidth, |
| float | halfHeight, | ||
| float | halfDepth, | ||
| float | mass, | ||
| bool | kinematic, | ||
| SharpKmyMath.Matrix4 | mtx, | ||
| UInt16 | group, | ||
| UInt16 | mask | ||
| ) |
| Collider SharpKmyPhysics.PhysicsBase.createCapsuleCollider | ( | float | radius, |
| float | height, | ||
| SharpKmyMath.Matrix4 | mtx, | ||
| UInt16 | group, | ||
| UInt16 | mask, | ||
| int | axis | ||
| ) |
| RigidBody SharpKmyPhysics.PhysicsBase.createCapsuleRigidBody | ( | float | radius, |
| float | height, | ||
| float | mass, | ||
| bool | kinematic, | ||
| SharpKmyMath.Matrix4 | mtx, | ||
| UInt16 | group, | ||
| UInt16 | mask, | ||
| int | axis | ||
| ) |
| Collider SharpKmyPhysics.PhysicsBase.createCompoundCollider | ( | float[] | boxes, |
| SharpKmyMath.Matrix4 | mtx, | ||
| SharpKmyMath.Vector3 | scl, | ||
| UInt16 | group, | ||
| UInt16 | mask | ||
| ) |
| RigidBody SharpKmyPhysics.PhysicsBase.createCompoundRigidBody | ( | float[] | boxes, |
| float | mass, | ||
| bool | kinematic, | ||
| SharpKmyMath.Matrix4 | mtx, | ||
| SharpKmyMath.Vector3 | scl, | ||
| UInt16 | group, | ||
| UInt16 | mask | ||
| ) |
| Collider SharpKmyPhysics.PhysicsBase.createSphereCollider | ( | float | radius, |
| SharpKmyMath.Matrix4 | mtx, | ||
| UInt16 | group, | ||
| UInt16 | mask | ||
| ) |
| RigidBody SharpKmyPhysics.PhysicsBase.createSphereRigidBody | ( | float | radius, |
| float | mass, | ||
| bool | kinematic, | ||
| SharpKmyMath.Matrix4 | mtx, | ||
| UInt16 | group, | ||
| UInt16 | mask | ||
| ) |
| Collider SharpKmyPhysics.PhysicsBase.createTriMeshCollider | ( | float[] | vertices, |
| UInt16[] | indices, | ||
| SharpKmyMath.Matrix4 | mtx, | ||
| SharpKmyMath.Vector3 | scl, | ||
| UInt16 | group, | ||
| UInt16 | mask, | ||
| int | verticesCount, | ||
| int | indicesCount | ||
| ) |
| Collider SharpKmyPhysics.PhysicsBase.createTriMeshCollider | ( | System.Guid | guid, |
| SharpKmyMath.Matrix4 | mtx, | ||
| SharpKmyMath.Vector3 | scl, | ||
| UInt16 | group, | ||
| UInt16 | mask | ||
| ) |
| RigidBody SharpKmyPhysics.PhysicsBase.createTriMeshRigidBody | ( | System.Guid | guid, |
| SharpKmyMath.Vector3 | massCenter, | ||
| float | mass, | ||
| bool | kinematic, | ||
| SharpKmyMath.Matrix4 | mtx, | ||
| SharpKmyMath.Vector3 | scl, | ||
| UInt16 | group, | ||
| UInt16 | mask | ||
| ) |
| Vehicle SharpKmyPhysics.PhysicsBase.createVehicle | ( | float | width, |
| float | height, | ||
| float | depth, | ||
| float | wheelRadius, | ||
| float | wheelWidth, | ||
| float | wheelFriction, | ||
| float | suspensionRestLength, | ||
| float | connectionHeight, | ||
| float | suspensionStiffness, | ||
| float | suspensionDamping, | ||
| float | suspensionCompression, | ||
| float | rigidbodyOffsetX, | ||
| float | rigidbodyOffsetY, | ||
| float | rigidbodyOffsetZ, | ||
| float | positionX, | ||
| float | positionY, | ||
| float | positionZ, | ||
| float | mass | ||
| ) |
| DebugDrawError SharpKmyPhysics.PhysicsBase.getDebugDrawError | ( | ) |
| void SharpKmyPhysics.PhysicsBase.lockUpdate | ( | ) |
| bool SharpKmyPhysics.PhysicsBase.rayCast | ( | SharpKmyMath.Vector3 | from, |
| SharpKmyMath.Vector3 | to, | ||
| UInt16 | mask, | ||
| RayCastHit | hit | ||
| ) |
| bool SharpKmyPhysics.PhysicsBase.rayCast | ( | SharpKmyMath.Vector3 | from, |
| SharpKmyMath.Vector3 | to, | ||
| UInt16 | mask, | ||
| RayCastHit | hit, | ||
| PhysicsNotifyTarget | self | ||
| ) |
| bool SharpKmyPhysics.PhysicsBase.rayCast | ( | SharpKmyMath.Vector3 | from, |
| SharpKmyMath.Vector3 | to, | ||
| UInt16 | mask, | ||
| RayCastHit | hit, | ||
| PhysicsNotifyTarget | self, | ||
| UInt16 | type | ||
| ) |
| bool SharpKmyPhysics.PhysicsBase.rayCast | ( | SharpKmyMath.Vector3 | from, |
| SharpKmyMath.Vector3 | to, | ||
| UInt16 | mask, | ||
| RayCastHit | hit, | ||
| PhysicsNotifyTarget | self, | ||
| UInt16 | type, | ||
| int | fellowId | ||
| ) |
| void SharpKmyPhysics.PhysicsBase.removeCollider | ( | Collider | c | ) |
| void SharpKmyPhysics.PhysicsBase.removeRigidBody | ( | RigidBody | r | ) |
| void SharpKmyPhysics.PhysicsBase.removeVehicle | ( | Vehicle | v | ) |
| void SharpKmyPhysics.PhysicsBase.setGravity | ( | float | x, |
| float | y, | ||
| float | z | ||
| ) |
| void SharpKmyPhysics.PhysicsBase.unlockUpdate | ( | ) |
| void SharpKmyPhysics.PhysicsBase.update | ( | float | delta | ) |