Latest collision Activity
Yes, you will need warm starting for a stack of 10. The warm starting will improve friction and stacking dramatically. Splitting impulses works good as well.
The restitution is solved the way you suggest. But I did not verify if your formula is correct. One important gotcha is that you uses th…
![AABB moving player outside the colliding AABB](https://media.discordapp.net/attachments/1180479454842208316/1237167530485874819/image.png?ex=663aa98c&is=6639580c&hm=8dd13a5ed9187abfa0470b650150e796382ec2c2e8f521408def2b2a59192188&=&format=webp&quality=lossless&width=646&height=811)
gregory2 said:
The way I learned to do this was by stepping the player one direction at a time, and checking collision between each of those steps. You start by moving the player horizontally by their horizontal velocity, and then check for collision. If there's a collision, you step back horizontal…
![How does SWEPT AABB collision work in 3D space with objects of different sizes?](https://uploads.gamedev.net/forums/monthly_2024_03/ff61b4b83a684f5b86bdf9444773bc15.collision.jpg)
In the case of small round objects (bullets, hand grenades, etc) here's what I did:
This gives you the center of AABB, and then three vectors that can be stretched on each axis (X,Y,Z). …
(new post because forum hangs when posting links)
The article explains the mass properties if a rigid body, including moment of inertia. We use this to model ‘rotation resistance’ of some object. A stick is easy to rotate if we rotate it around it's longest axis, but hard to rotate if we do so aroun…
@cgrant Thank you for replying
I known that kinematic actors cannot trigger the "onContact" function during collisions with other kinematic actors.
In fact, I attempted to call it within my PxQueryFilterCallback filter, but I received a warning stating that "onContact" cannot be used for kinematic-to…
![DevBlog 13 - Large Ship Collision Challenges](https://uploads.gamedev.net/blogs/monthly_2022_01/large.19c04b49c88d4e1fb2607630502e2cb6.sa_vid13_thumbnail.jpg)
Adding hand-made collision to the large ships so that fighters cannot fly through them.
I tweaked the model editor so it can load in models to define collision shapes.
There now is an XRay mode that lets you see wireframe of the ship with colored rendering of collision shapes.
To debug collision in th…