Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Tilemap & Friction
« previous
next »
Print
Pages: [
1
]
Author
Topic: Tilemap & Friction (Read 4363 times)
Dorf_Midget
2D Toolkit
Newbie
Posts: 3
Tilemap & Friction
«
on:
November 03, 2013, 04:42:30 pm »
I'm having a problem with a top-down character movement. The walls slow down movement due to friction (I assume). Is there a way to change the friction on the tiles?
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: Tilemap & Friction
«
Reply #1 on:
November 04, 2013, 01:01:11 pm »
How are you moving your character?
Logged
Dorf_Midget
2D Toolkit
Newbie
Posts: 3
Re: Tilemap & Friction
«
Reply #2 on:
November 04, 2013, 08:14:31 pm »
I have 2 sprites (head and body) attached to an Empty GameObject. The body sprite has a BoxCollider. The Empty GameObject has a rigidbody and I move it with AddForce().
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: Tilemap & Friction
«
Reply #3 on:
November 05, 2013, 12:07:40 pm »
In the tile map layer settings, you can assign a physics material to each tile map layer. Physics settings can be assigned there.
Logged
Dorf_Midget
2D Toolkit
Newbie
Posts: 3
Re: Tilemap & Friction
«
Reply #4 on:
November 06, 2013, 06:36:13 am »
Thanks for the answer. That fixed it
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Tilemap & Friction