reactphysics3d
reactphysics3d copied to clipboard
Open source C++ physics engine library in 3D
hello. I have compiled the code in ubuntu18.04 and successfully generate the bin file testbed in the path "build/testbed". When I run the testbed like "./testbed" it directly cored dump....
``` In file included from include/reactphysics3d/reactphysics3d.h:42: In file included from include\reactphysics3d/engine/PhysicsCommon.h:31: In file included from include\reactphysics3d/engine/PhysicsWorld.h:45: include\reactphysics3d/collision/OverlapCallback.h:99:30: warning: explicitly defaulted copy assignment operator is implicitly deleted [-Wdefaulted-function-deleted] OverlapPair& operator=(const OverlapPair&...
Hi there, I've been implementing `CollisionBody`s and `Colliders` in a game engine, but during testing I struggled to apply transformations to colliders. After calling `setLocalToBodyTransform()`, I would get the following...
While debugging Android I found that some assertions for byte alignment were failing. Changing to 8 bytes alignment fixed the issue and I now have my build working on Android
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: testbed/CMakeFiles/testbed.dir/src/SceneDemo.cpp.o: undefined reference to symbol 'glDisableVertexAttribArray' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libGL.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.
RigidBody::raycast gives incorrect result in raycastInfo for body with multiple colliders + solution
bool isHit = body->raycast(ray, raycastInfo); - gives incorrect results in raycastInfo **Solution** **File:** Collider.cpp Wrap results calculation in if(...) {}: bool Collider::raycast(const Ray& ray, RaycastInfo& raycastInfo) { ... // Convert...
Here's the docs: enum Category { CATEGORY1 = 0x0001, CATEGORY2 = 0x0002, CATEGORY3 = 0x0004 }; When I start extending this, such as: enum Category { CATEGORY1 = 0x0001, CATEGORY2...
``` pure virtual method called terminate called without an active exception Thread 1 "Cojarexp" received signal SIGABRT, Aborted. __pthread_kill_implementation (no_tid=0, signo=6, threadid=) at ./nptl/pthread_kill.c:44 44 ./nptl/pthread_kill.c: No such file or...
I have about 1000 box colliders, but they're all (a) static and (b) not set to collide with each other. However the world step has gotten very slow. Is RP3D...