How do I move an object with physic behavior normally

Get help using Construct 2

Post » Sun May 25, 2014 6:38 pm

Hi
I want to move a script that has the physic behavior normally (like a script that isnt influenced by gravity)
like 100 balls game on appstore
how can I have the glasses that have the physic behavior and move like that?
B
9
S
2
Posts: 95
Reputation: 1,019

Post » Mon May 26, 2014 7:29 am

Set the physics object to immovable (this will stop physics from moving the object but still allow you to change it's position through other events).
B
40
S
12
G
11
Posts: 331
Reputation: 7,752

Post » Mon May 26, 2014 5:38 pm

I knew it but when it is immovable and I move it , it is buggy in collision with other scripts that have physic behavior
B
9
S
2
Posts: 95
Reputation: 1,019

Post » Mon May 26, 2014 8:48 pm

disable physics while being dragged?
B
18
S
4
G
1
Posts: 332
Reputation: 3,149

Post » Mon May 26, 2014 10:44 pm

@Windwalker
If you take a look at the game "100 balls" you will see there are cups that move around the screen. These cups are what Heska is trying to duplicate. The cups hold balls in them as they move and dump them elsewhere. If Heska sets the the physics to disabled, then any physics object in/on/colliding with the cup would simply fall through. Turning off the physics behavior is not an option.
B
40
S
12
G
11
Posts: 331
Reputation: 7,752

Post » Tue May 27, 2014 8:59 am

Pin the balls to the cup when they are in, disable phsyics. Later when you have to free the balls, unpin them maybe?
B
18
S
4
G
1
Posts: 332
Reputation: 3,149


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests