Help with platform surfaces

Hi again guys,

i have several types of platforms in my game that i want to add various pyhsics too…for example solid, speed, sticky etc…now the problem im having is figuring out how to make the 2 types…sticky and ice…

i want items that touch the sticky platform be able to move around the edge of the platform without being affected by gravity.

the ice platform is basically going to be slippy, so when an item lands on the platform it will slide and struggle for grip.

Any ideas how i can achieve this?

Thanks again. [import]uid: 162458 topic_id: 29832 reply_id: 329832[/import]

To make objects slippery you want to set the friction to a lower number on the platform. Probably less than .2. Maybe even try setting it to 0

Sticky, in the sense that you can walk down the sides/upside down is a little trickier and don’t have an answer for you! [import]uid: 147305 topic_id: 29832 reply_id: 119613[/import]

One possible solution to making platforms sticky is to make the objects sticking to them kinematic, then fix their route of travel with a piston joint. This will remove gravity from them (kinematic) and force them to move parallel with the side of the object.

If the object is a little rough, you might just use a distance joint anchored to an invisible object within the platform. This would pull the moving object toward the centre of the platform, though you would have to play with the values to avoid it jittering around on the surface of the platform.

I’m a big fan of static anchor objects - especially when they need to move. [import]uid: 8271 topic_id: 29832 reply_id: 119631[/import]

To make objects slippery you want to set the friction to a lower number on the platform. Probably less than .2. Maybe even try setting it to 0

Sticky, in the sense that you can walk down the sides/upside down is a little trickier and don’t have an answer for you! [import]uid: 147305 topic_id: 29832 reply_id: 119613[/import]

One possible solution to making platforms sticky is to make the objects sticking to them kinematic, then fix their route of travel with a piston joint. This will remove gravity from them (kinematic) and force them to move parallel with the side of the object.

If the object is a little rough, you might just use a distance joint anchored to an invisible object within the platform. This would pull the moving object toward the centre of the platform, though you would have to play with the values to avoid it jittering around on the surface of the platform.

I’m a big fan of static anchor objects - especially when they need to move. [import]uid: 8271 topic_id: 29832 reply_id: 119631[/import]