You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a PhysicsMaterial with the rough variable set to true is applied to a gridmap, friction on the gridmap doesn't appear to be affected.
Steps to reproduce
Create a basic gridmap of cubes and place a mesh filter cube with a StaticBody collision cube, make sure they both have large top surfaces to be able to test friction on.
Apply the same physics material to both ensuring Rough is set to on.
Create 2 Rigidbody3D spheres with no physics material applied. I attatched cube mesh instancers in the MRP to better illustrate the rotation of the bodies
Position them and add an initial linear velocity to launch one onto the top surface of the gridmap and the other onto the StaticBody cube.
Give initial angular velocity to the 2 spheres in the opposite direction to how they should roll when they hit the surface.
Expected result:
Both spheres land on their respective surfaces and their angular momentum is absorbed by the impact before the linear velocity carrys them forward at the same speed.
Actual results:
The sphere that lands on the StaticBody collider will behave as expected but the angular momentum on the sphere launched at the gridmap surface will carry through the collision and it will move along the surface faster than the other one.
The text was updated successfully, but these errors were encountered:
akien-mga
changed the title
Rough physics material not behaving correctly on Grdimaps
Rough physics material not behaving correctly on GridMaps
Apr 10, 2024
Tested versions
System information
Godot v4.2.1.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2070 (NVIDIA; 31.0.15.4617) - AMD Ryzen 9 7900X 12-Core Processor (24 Threads)
Issue description
When a PhysicsMaterial with the rough variable set to true is applied to a gridmap, friction on the gridmap doesn't appear to be affected.
Steps to reproduce
Expected result:
Both spheres land on their respective surfaces and their angular momentum is absorbed by the impact before the linear velocity carrys them forward at the same speed.
Actual results:
The sphere that lands on the StaticBody collider will behave as expected but the angular momentum on the sphere launched at the gridmap surface will carry through the collision and it will move along the surface faster than the other one.
Minimal reproduction project (MRP)
FrictionTestingScene.zip
The text was updated successfully, but these errors were encountered: