How do I knock objects around

Get help using Construct 2

Post » Fri Feb 06, 2015 4:15 pm

plzzzz help

i woud like a ball to randomly spawn on the screen and knock it with another ball (that i'v already created)
into the goals.
i already have the first ball that i control with the mouse/touch ,
but creating the second ball to only respond/bounce when i want it, at the angle i hit it i cant do.
the second ball either just falls(gravity)
or it goes bouncing around if i set it to bullet.
i basically want the second ball to be spawned every 5 seconds STAGNANT and only when i knock it will it bounce off my ball at the angle i hit it.
thanks
(and if any other objects hit second ball i dont want it to move
B
4
Posts: 11
Reputation: 222

Post » Fri Feb 06, 2015 4:45 pm

assign it the bullet behavior and and set it disabled on start of layout then create a condition so that on collision with object set angle of movement to the angle of the 1st ball (set a every tick condition to set the angle of the first ball to the direction of motion) also be sure to set the collision so that only the 1 st ball will test for collisions once the condition is active be sure to set the behavior enabled hope this helps let me know if you want a capx
B
5
Posts: 60
Reputation: 345

Post » Fri Feb 06, 2015 8:02 pm

@ash10500 could I ask for a capx of that?
It sounds interesting.
B
5
Posts: 38
Reputation: 301


Post » Sat Feb 07, 2015 1:41 pm

@pixelboss @marlin sure here it is
You do not have the required permissions to view the files attached to this post.
B
5
Posts: 60
Reputation: 345

Post » Sun Feb 08, 2015 7:43 am

thanks man highly appreciated :)
B
4
Posts: 11
Reputation: 222


Return to How do I....?

Who is online

Users browsing this forum: jpstudio, manujorgo, Romalex360, tunepunk, VnM2016 and 12 guests