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
→
Resolved Questions
→
[SOLVED] Collision problem?
Pages:
1
[SOLVED] Collision problem?
Uuemaich
Posts: 52
April 08, 2012, 03:22:52 am
My player collides with a "Wall" tile and a "Block" actor properly. But when my player pushes the "Block" actor using the set velocity, the "Block" actor goes right through the "Wall" tile. I have them both set up to collide with each other and everything.
The solution is probably really simple. Thanks!
« Last Edit: April 08, 2012, 12:03:53 pm by Uuemaich »
rob1221
Posts: 9473
April 08, 2012, 10:40:42 am
Is the block set to "normal" in collision settings?
https://twitter.com/Rob1221dev
Uuemaich
Posts: 52
April 08, 2012, 10:48:11 am
It's set to "cannot be pushed". I set it to "normal" and it works, but then it moves upon just touching it. Is there a way to make it not move when touched, aside from pressing "action2" when collided with it?
« Last Edit: April 08, 2012, 10:56:59 am by Uuemaich »
rob1221
Posts: 9473
April 08, 2012, 11:00:07 am
Try making the mass and friction very high.
https://twitter.com/Rob1221dev
Uuemaich
Posts: 52
April 08, 2012, 11:25:20 am
Dude, I love you! That worked! XD
But now when the block collides with the wall, this pops up and the game freezes.
Nevermind, apparently I just had to restart it. Stencyl likes to crash on me if it's been open for a while... XD
« Last Edit: April 08, 2012, 12:03:34 pm by Uuemaich »
Pages:
1