Solid valid for only one object

Get help using Construct 2

Post » Tue Aug 13, 2013 2:09 am

I was makeing a game the other day and wondered how could i make a wall solid for one object but let another pass through ?
B
20
S
8
G
2
Posts: 122
Reputation: 3,202

Post » Tue Aug 13, 2013 10:21 am

anyone
B
20
S
8
G
2
Posts: 122
Reputation: 3,202

Post » Tue Aug 13, 2013 11:48 am

One way to do it:
Add a boolean variable to the object.

on collision with wall - if variable is true - set solid enabled
on collision with wall - if variable is not true - set solid disabled
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: stevenode, tarek2 and 11 guests