Physics Programming

Here's my detail explanation how I went through my physics collision and how I integrated NVIDIA PhysX in Revoker Engine

Tools : C++,GLSL ,OpenGL, NVIDIA PhysX

Physics Collisions

I’ve created simple collision test cases using resources from a book to understand both basic and advanced physics concepts.

Technical View

These include tests for AABB (Axis-Aligned Bounding Box), spheres, triangles, and meshes of triangles. You can view the video for detailed math behind collision checks, including AABB vs. AABB, AABB vs. Sphere, Sphere vs. Sphere, and more


For simulation, the flow is as follows: I’ve implemented gravity, velocity for each objects, check collisions between other Physics Objects , and updated the bounciness factor to adjust the velocity of the objects accordingly

  • Other Game Engine

    .

  • Other Game Engine

    .

Softboy physics is something which allows for realistic simulations of materials like cloth, jelly, and rubber.

Softbody Physics

For my soft body physics implementation, I used the Verlet integration method, referencing Sebastian's Unity video for guidance. Here’s how I approached it:

Technical overview

First, I loaded the model using Assimp and stored the animation data, which includes animation clips, bone Node with transformations, and keyframes with time from Assimp. I created a struct called BoneNode that stores the data of bone name, index (aka bone ID), transformation matrix, and child nodes. While loading the model, I would generate Bone hierarchy and set each mesh's vertex with the respective bone ID and the weight by which the vertex is influenced by that bone.

Physics Programming

Here's my detail explanation how I went through my physics collision and how I integrated NVIDIA PhysX in Revoker Engine

Tools Used

C++,GLSL ,OpenGL, NVIDIA PhysX

Let’s talk about gaming experience

I'm always open to share more about my projects and experiences.
Feel free to connect with me—send a message on LinkedIn or drop an email. I’d be happy to chat!

I'm always open to sharing more about my projects and experiences.
Feel free to connect with me—send a message on LinkedIn or drop an email. I’d be happy to chat!

Email

ibrahim155.developer@gmail.com

Mobile

+12269989187

Create a free website with Framer, the website builder loved by startups, designers and agencies.