i can not get a single physical material to work.
so i'm making a game where a 2d character can jump between planets which are at the moment Circle Collider 2Ds. i want to give different planets physical materials, but nothing i do works. i'm simply trying to rotate the planet causing all the objects including the player to move with the rotation. i have applied a physical 2d material to the planet with bouncyness at 0 and friction at 1000 and it did nothing. could anyone offer me a solution to this issue?
Answer by MelvMay · Dec 09, 2015 at 08:13 AM
Physics Materials are used when objects contact each other. Bounciness controls how they rebound and Friction is the surface friction (both typically in the range of 0 to 1; don't use 1000).
If you want the equivalent of air-friction then use Rigidbody2D.drag and Rigidbody2D.angularDrag.
i tried that and it isn't working. i was curious if the force attracting the player to the selected planet is to great causing the physical material to have no effect, but it wasn't the case.
i am not entirely sure what is causing this problem because it won't work for anything. i want the planet to grip things on it's surface while it spins. in this picture the planet has a friction physical material and is spinning, but the player is stationary.
Your answer
Follow this Question
Related Questions
Different rigidbody2D not working together? 2 Answers
Physics without rigid body- bouncing effect to collider on hit 0 Answers
Physics Material 2D Bounciness Does Not Revert After Playtime! 0 Answers
What are some workarounds for Friction Direction/Anistropic Friction for Unity 5? 0 Answers
Object Box Collider and Mesh deform when sliding down slope. 0 Answers