TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
How to prevent the actor from sliding?
Pages:
1
How to prevent the actor from sliding?
1968
Posts: 103
April 03, 2019, 01:05:44 pm
Hi!
In the behavior of the actor pushes the object.
I want to eliminate slipping.
« Last Edit: April 03, 2019, 01:49:07 pm by 1968 »
JeffreyDriver
Posts: 2262
April 03, 2019, 03:39:38 pm
You need to set the friction of the object. It goes from 0.00 to 1.00
Current Projects:
The Grand Grimoire Chronicles Episode 3
Twitter@JeffreyDriver
apps.jeffreydriver.co.uk
1968
Posts: 103
April 03, 2019, 08:41:03 pm
I already tried to play with physics.
This does not work.
JeffreyDriver
Posts: 2262
April 04, 2019, 02:39:06 am
I didn't actually check the swf you posted. Friction won't work because it's not touching anything except the player, which it's being pushed by.
Try increasing the weight. Though you might want to consider making the objects snap-to-grid anyway which would remove the need for physics.
Current Projects:
The Grand Grimoire Chronicles Episode 3
Twitter@JeffreyDriver
apps.jeffreydriver.co.uk
LIBERADO
Posts: 2720
April 04, 2019, 03:29:21 am
Increase the linear damping.
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.
1968
Posts: 103
April 04, 2019, 05:18:37 am
Thanks for the tips!
I tried everything before turning to the forum.
This type of game is missing a platform and this is a problem.
I have to complicate the code based on the binding of the object to the grid.
Pages:
1