Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DanielChappuis/reactphysics3d
/ functions
Functions
2,534 in github.com/DanielChappuis/reactphysics3d
⨍
Functions
2,534
◇
Types & classes
532
↓ 573 callers
Method
size
Return the number of elements in the map
include/reactphysics3d/containers/Map.h:529
↓ 503 callers
Method
add
Add an element into the map Returns true if the item has been inserted and false otherwise.
include/reactphysics3d/containers/Map.h:357
↓ 447 callers
Function
approxEqual
Function to test if two vectors are (almost) equal
include/reactphysics3d/mathematics/Vector2.h:351
↓ 433 callers
Method
raycast
Raycast method with feedback information The method returns the closest hit among all the collision shapes of the body * @param ray The ray used to ra
src/body/Body.cpp:333
↓ 355 callers
Method
containsKey
Return true if the map contains an item with the given key
include/reactphysics3d/containers/Map.h:351
↓ 255 callers
Method
testPointInside
Return true if a point is inside the collision body This method returns true if a point is inside any collision shape of the body * @param worldPoint
src/body/Body.cpp:310
↓ 210 callers
Method
reset
test/tests/collision/TestRaycast.h:85
↓ 199 callers
Method
getEntity
Return the corresponding entity of the body * @return The entity of the body */
include/reactphysics3d/body/Body.h:200
↓ 190 callers
Method
setTransform
Reset the transform
testbed/common/PhysicsObject.cpp:78
↓ 189 callers
Method
dot
Scalar product of two vectors (RP3D_FORCE_INLINE)
include/reactphysics3d/mathematics/Vector2.h:187
↓ 151 callers
Method
bind
Bind the shader
testbed/opengl-framework/src/Shader.h:148
↓ 135 callers
Method
reset
test/tests/collision/TestWorldQueries.h:240
↓ 120 callers
Method
end
Return a end iterator
include/reactphysics3d/containers/Map.h:687
↓ 120 callers
Method
getRigidBody
Return a pointer to the rigid body of the box (NULL if it's not a rigid body)
testbed/common/PhysicsObject.h:103
↓ 117 callers
Method
clear
Delete all the tests
test/TestSuite.cpp:138
↓ 115 callers
Method
unbind
Unbind the shader
testbed/opengl-framework/src/Shader.h:154
↓ 108 callers
Method
hasContactPointSimilarTo
test/tests/collision/TestWorldQueries.h:124
↓ 105 callers
Method
testCollision
Test collision and report contacts between two bodies.
src/systems/CollisionDetectionSystem.cpp:1838
↓ 91 callers
Method
setColor
Set the color of the box
testbed/common/PhysicsObject.h:88
↓ 90 callers
Method
cross
Cross product of two vectors (RP3D_FORCE_INLINE)
include/reactphysics3d/mathematics/Vector3.h:212
↓ 88 callers
Method
setSleepingColor
Set the sleeping color of the box
testbed/common/PhysicsObject.h:93
↓ 82 callers
Method
getNbContactPairs
test/tests/collision/TestWorldQueries.h:99
↓ 80 callers
Method
areCollidersColliding
test/tests/collision/TestWorldQueries.h:171
↓ 80 callers
Method
getCollisionData
test/tests/collision/TestWorldQueries.h:175
↓ 80 callers
Method
getTotalNbContactPoints
test/tests/collision/TestWorldQueries.h:103
↓ 80 callers
Method
getVertex
Return the coordinates of a given vertex
src/collision/VertexArray.cpp:48
↓ 79 callers
Method
getEntityIndex
Return the index in the arrays for a given entity
include/reactphysics3d/components/Components.h:170
↓ 78 callers
Method
remove
Remove the element pointed by some iterator This method returns an iterator pointing to the element after the one that has been removed
include/reactphysics3d/containers/Map.h:428
↓ 74 callers
Method
begin
Return a begin iterator
include/reactphysics3d/containers/Map.h:664
↓ 74 callers
Method
getBody1
test/tests/collision/TestWorldQueries.h:116
↓ 70 callers
Method
contains
Return true if the set contains a given value
include/reactphysics3d/containers/Set.h:350
↓ 68 callers
Method
find
Try to find an item of the map given a key. The method returns an iterator to the found item or an iterator pointing to the end if not found
include/reactphysics3d/containers/Map.h:541
↓ 68 callers
Method
getCollider
Return the collider
testbed/common/Box.h:102
↓ 61 callers
Method
lengthSquare
Return the square of the length of the vector
include/reactphysics3d/mathematics/Vector2.h:182
↓ 59 callers
Method
getInverse
Return the inverse matrix
src/mathematics/Matrix3x3.cpp:33
↓ 57 callers
Method
create
Create the shader
testbed/opengl-framework/src/Shader.cpp:55
↓ 57 callers
Method
~Vector3
Constructor
testbed/opengl-framework/src/maths/Vector3.h:56
↓ 56 callers
Method
isHit
test/tests/collision/TestDynamicAABBTree.h:56
↓ 56 callers
Method
setBounciness
Set the bounciness. The bounciness should be a value between 0 and 1. The value 1 is used for a very bouncy body and zero is used for a body that is n
include/reactphysics3d/engine/Material.h:111
↓ 50 callers
Method
testOverlap
Return true if two bodies overlap Use this method if you are not interested in contacts but if you simply want to know if the two bodies overlap. If y
src/engine/PhysicsWorld.cpp:217
↓ 49 callers
Method
destroy
Destroy the data used to render AABBs
testbed/common/AABB.cpp:45
↓ 48 callers
Method
normalize
Normalize the vector
include/reactphysics3d/mathematics/Vector2.h:192
↓ 48 callers
Method
setToZero
include/reactphysics3d/mathematics/Vector2.h:165
↓ 44 callers
Method
hasOverlapWithBody
test/tests/collision/TestWorldQueries.h:244
↓ 40 callers
Method
createRigidBody
Create a rigid body into the physics world * @param transform Transformation from body local-space to world-space * @return A pointer to the body tha
src/engine/PhysicsWorld.cpp:401
↓ 39 callers
Method
copyDataIntoVBO
Copy data into the VBO
testbed/opengl-framework/src/VertexBufferObject.cpp:64
↓ 38 callers
Method
addCollider
Create a new collider and add it to the body This method will return a pointer to a new collider. A collider is an object with a collision shape that
src/body/Body.cpp:69
↓ 38 callers
Method
clear
Clear
src/collision/narrowphase/NarrowPhaseInput.cpp:52
↓ 38 callers
Method
release
Release previously allocated memory.
src/memory/HeapAllocator.cpp:215
↓ 36 callers
Method
capacity
Return the capacity of the map
include/reactphysics3d/containers/Map.h:534
↓ 35 callers
Method
getBroadPhaseId
Return the broad-phase id
src/collision/Collider.cpp:153
↓ 33 callers
Method
setIsSimulationCollider
Set whether the collider can generate contacts for the simulation of the associated body Note that a collider cannot be a simulation collider and a tr
src/collision/Collider.cpp:271
↓ 33 callers
Method
setMatrix4x4Uniform
Set a 4x4 matrix uniform value to this shader (be careful if the uniform is not used in the shader, the compiler will remove it, then when you will tr
testbed/opengl-framework/src/Shader.h:292
↓ 32 callers
Method
addBack
Add an element at the end of the deque
include/reactphysics3d/containers/Deque.h:307
↓ 31 callers
Method
allocate
Allocate memory of a given size (in bytes) and return a pointer to the allocated memory.
src/memory/HeapAllocator.cpp:122
↓ 31 callers
Method
getVertexPosition
Return the position of a given vertex
include/reactphysics3d/collision/shapes/BoxShape.h:192
↓ 30 callers
Method
push
Push an element into the stack
include/reactphysics3d/containers/Stack.h:144
↓ 29 callers
Method
addVertex
Add a vertex * @param externalIndex Index of the vertex in the external user vertex data array * @return A pointer to the new vertex */
src/utils/quickhull/QHHalfEdgeStructure.cpp:85
↓ 28 callers
Method
addFace
Add a face * @param faceVertices Array of the vertices in a face (ordered in CCW order as seen from outside * the polyhedron). Th
src/utils/quickhull/QHHalfEdgeStructure.cpp:109
↓ 28 callers
Method
getBody
Return the parent body * @return Pointer to the parent body */
include/reactphysics3d/collision/Collider.h:208
↓ 28 callers
Method
getNbEnabledComponents
Return the number of enabled components
include/reactphysics3d/components/Components.h:165
↓ 28 callers
Method
getNbVertices
Return the number of vertices in the mesh
src/collision/shapes/ConcaveMeshShape.cpp:113
↓ 28 callers
Method
isLeaf
Return true if the node is a leaf of the tree
include/reactphysics3d/collision/broadphase/DynamicAABBTree.h:272
↓ 27 callers
Function
clamp
Function that returns the result of the "value" clamped by two others values "lowerLimit" and "upperLimit"
include/reactphysics3d/mathematics/mathematics_functions.h:48
↓ 27 callers
Method
createJoint
Create a joint between two bodies in the world and return a pointer to the new joint * @param jointInfo The information that is necessary to create th
src/engine/PhysicsWorld.cpp:483
↓ 26 callers
Method
getInverse
Return the inverse matrix
testbed/opengl-framework/src/maths/Matrix3.h:154
↓ 25 callers
Method
getNbFaces
Return the number of triangles
testbed/opengl-framework/src/Mesh.h:206
↓ 25 callers
Method
updateMassPropertiesFromColliders
Compute and set the center of mass, the mass and the local-space inertia tensor of the body using its colliders This method uses the shape, mass densi
src/body/RigidBody.cpp:548
↓ 24 callers
Method
addTest
Add a unit test in the test suite
test/TestSuite.cpp:63
↓ 24 callers
Method
normalize
Normalize the vector and return it
testbed/opengl-framework/src/maths/Vector2.h:133
↓ 24 callers
Method
setAllValues
Set all the values of the vector
include/reactphysics3d/mathematics/Vector2.h:171
↓ 23 callers
Method
getAttribLocation
Return the location of an attribute variable inside a shader program
testbed/opengl-framework/src/Shader.h:174
↓ 22 callers
Method
allocate
Allocate more memory
include/reactphysics3d/containers/Stack.h:62
↓ 22 callers
Method
getFaceNormal
Return the normal vector of a given face of the polyhedron
include/reactphysics3d/collision/shapes/BoxShape.h:211
↓ 22 callers
Method
getType
Return the type of the joint * @return The type of the joint */
src/constraint/Joint.cpp:60
↓ 22 callers
Method
getUnit
Return the corresponding unit vector
src/mathematics/Vector2.cpp:33
↓ 21 callers
Method
release
Release previously allocated memory.
include/reactphysics3d/memory/MemoryManager.h:122
↓ 21 callers
Method
setMassDensity
Set the mass density of the collider * @param massDensity The mass density of the collider */
include/reactphysics3d/engine/Material.h:149
↓ 21 callers
Method
updateObject
Update the dynamic tree after an object has moved. If the new AABB of the object that has moved is still inside its fat AABB, then nothing is done. Ot
src/collision/broadphase/DynamicAABBTree.cpp:186
↓ 20 callers
Method
addFileDestination
Add a log file destination to the logger
testbed/src/TestbedLogger.cpp:90
↓ 19 callers
Method
getCollisionShape
Return a pointer to the collision shape * @return Pointer to the collision shape */
src/collision/Collider.cpp:140
↓ 18 callers
Method
getIsEntityDisabled
Return true if an entity is sleeping
include/reactphysics3d/components/Components.h:136
↓ 18 callers
Method
length
Return the length of the vector
include/reactphysics3d/mathematics/Vector2.h:177
↓ 18 callers
Method
release
Destroy and release everything that has been allocated
src/engine/PhysicsCommon.cpp:134
↓ 18 callers
Method
setEventListener
Set an event listener object to receive events callbacks. If you use "nullptr" as an argument, the events callbacks will be disabled. * @param eventLi
include/reactphysics3d/engine/PhysicsWorld.h:663
↓ 17 callers
Method
addFront
Add an element at the front of the deque
include/reactphysics3d/containers/Deque.h:327
↓ 17 callers
Method
dot
Dot product operator
testbed/opengl-framework/src/maths/Vector4.h:136
↓ 17 callers
Method
getBodyType
Return the body type of a body
include/reactphysics3d/components/RigidBodyComponents.h:456
↓ 17 callers
Method
getMatrix
Return the orientation matrix corresponding to this quaternion
src/mathematics/Quaternion.cpp:138
↓ 17 callers
Method
mergeTwoAABBs
Replace the current AABB with a new AABB that is the union of two AABBs in parameters
include/reactphysics3d/collision/shapes/AABB.h:234
↓ 17 callers
Method
reportAllShapesOverlappingWithAABB
Report all shapes overlapping with the AABB given in parameter.
src/collision/TriangleMesh.cpp:335
↓ 17 callers
Method
setAngularDamping
Set the angular damping factor. * @param angularDamping The angular damping factor of this body (in range [0; +inf]). Zero means no damping. */
src/body/RigidBody.cpp:769
↓ 17 callers
Method
setType
Set the type of the body The type of the body can either STATIC, KINEMATIC or DYNAMIC as described bellow: STATIC : A static body is simulated as if i
src/body/RigidBody.cpp:66
↓ 16 callers
Method
getVertexAt
Return the vertex (local-coordinates) of the height field at a given (x,y) position
src/collision/HeightField.cpp:399
↓ 16 callers
Method
setLinearDamping
Set the linear damping factor. * @param linearDamping The linear damping factor of this body (in range [0; +inf]). Zero means no damping. */
src/body/RigidBody.cpp:748
↓ 16 callers
Method
to_string
Return the string representation of the shape
src/collision/HeightField.cpp:412
↓ 15 callers
Method
getHeight
Get the height
testbed/opengl-framework/src/Camera.h:175
↓ 15 callers
Method
getVolume
Compute and return the volume of the collision shape Note that we approximate the volume of a concave shape with the volume of its AABB
src/collision/shapes/ConcaveShape.cpp:41
↓ 15 callers
Method
init
Initialization
src/engine/PhysicsCommon.cpp:63
↓ 15 callers
Function
isPowerOfTwo
Return true if a number is a power of two
include/reactphysics3d/mathematics/mathematics_functions.h:406
next →
1–100 of 2,534, ranked by callers