Questions tagged [physx]
PhysX is a realtime physics engine SDK. It supports rigid body dynamics, soft body dynamics, ragdolls and character controllers, vehicle dynamics, particles, volumetric fluid simulation and cloth simulation including tearing and pressurized cloth.
37 questions
0 votes
0 answers
26 views
Friction not applied in fast collisions using Continuous collision detection modes
Starting in Unity 2022.3 versions, this started happening - In my scenario, I have a ball bouncing on a surface (e.g on concrete) and no matter what the friction values are, the ball basically ignores ...
0 votes
2 answers
152 views
How to collide a circle against a pixel grid without getting snagged?
It's probably senseless to post my code because it simply takes a hard-stop approach when it encounters anything in the grid that is impassable (well, I've attempted to check -20/+20 deg, then -40/+40 ...
0 votes
1 answer
226 views
PhysX overlap always returns false
I am creating a game using PhysX as the physics engine and I have a function which checks the overlapped bodies based on a sphere geometry. When there are overlapping bodies I just set a force on them....
0 votes
0 answers
261 views
PhysX Skeletal Animation
I am developing a game and using OpenGL for graphics API and NVidia PhysX for the game's physics. Recently I implemented skeletal animation from this site. The objects are read using assimp which ...
0 votes
0 answers
185 views
How can I disable gravity for an object after gravity has been applied previously?
I have a rigid body component which has a field named enableGravity. This flag is synchronized with Physx objects before simulation: ...
0 votes
1 answer
394 views
NVidia Physx get yaw pitch roll from rigid body orientation
I am using NVidia PhysX in the game that I'm developing and I stumbled upon a math problem. I need to retrieve Yaw, Pitch and Roll from the orientation quaternion stored in the rigid body of some ...
0 votes
0 answers
336 views
In Physx, A collision is detected in onContact() before the shape collides
I'm trying the collision detection example in SampleSubmarine and I'm having a problem. As shown in the picture, when Plane and Sphere collide, the break is made at int a = 10 of the onContact ...
4 votes
1 answer
6k views
Game Engine Memory Allocator
I'm a bit confused on how to implement an allocator for my game engine. I'm currently trying to implement PhysX for the physics in my game and it requires an implementation of an abstract allocator ...