How do I change collision mask in the physics behavior

Get help using Construct 2

Post » Sat Nov 14, 2015 6:21 pm

Hey!
I'm currently making a game where the player can change his shape. One of them is a ball. I would like to know how i could make it so when the player is playing the "ball" animation, thc collision mask to circle instead of collision polygon, and switch it back when playing another animation.

Thanks :D
My addons:
[PLUGIN]Value Monitor
[PLUGIN] Text Alignement
[BEHAVIOR]Timescale Ratio
[BEHAVIOR]Polar Coordinates
[PLUGIN]Action Sequence
[BEHAVIOR]Action Sequence
[BEHAVIOR]Instance Variable Control
B
35
S
6
G
2
Posts: 229
Reputation: 3,390

Post » Sat Nov 14, 2015 6:33 pm

I don't think you can directly, but nothing is stopping you from spawning a ballobject set to circle collision looking like the player when he is a ball, replacing it again when changing shape..
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: 8tomo8 and 8 guests