Remove solid behavior from 8 direction?

Get help using Construct 2

Post » Thu Nov 15, 2012 2:34 pm

My old post can be deleted...

This is getting in the way, is there any way to disable this? If not could it be made into a toggleable option?
B
3
Posts: 6
Reputation: 563

Post » Thu Nov 15, 2012 5:31 pm

Your question doesn't seem to make much sense - you don't need to use the Solid behavior on the same object as the 8 direction behavior.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,498

Post » Thu Nov 15, 2012 8:33 pm

Sounds like he wants to make it so that an object with the 8 direction movement behavior doesn't collide with other objects.

If that's true, (because you want other objects to be able to just not the player. Perhaps you can simply put the player on a different layers than the other objects?
B
50
S
21
G
8
Posts: 844
Reputation: 10,299

Post » Fri Nov 16, 2012 12:32 am

Sorry I should have said more, When you put an 8 direction behavior on an object it automatically makes it solid. This object is the hitbox for my player and controls how he moves but I dont want it to determine how close to objects he can get, I want to add a smaller box for his feet because my perspective is a bit like pokemon, so I want his feet to collide with objects on the ground, not his head if that makes sense. i have tried different layers and that didnt seem to change anything.
B
3
Posts: 6
Reputation: 563

Post » Fri Nov 16, 2012 5:31 am

try this custom 8 direction movement...you can just set angle instead anglelerp if you don't need smoot transition...attach feet and set speed to zero if there is collision...

http://db.tt/Kkm4NM0Y
B
12
S
2
G
2
Posts: 96
Reputation: 1,583


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 29 guests