problem: bullet behavior cancels physics behavior

Get help using Construct 2

Post » Sun Jun 30, 2013 8:36 pm

hi

in my game, i have projectiles which i want to both:
1. collide with other objects
2. change angle relative to the angle of motion (for example, an arrow turns downwards over time when it is shot in the air)

the physics behavior accomplishes 1. and the bullet behavior accomplishes 2. BUT, the bullet behavior cancels the physics behavior so i can only have one.

How would I calculate the object's angle relative to the angle of motion? i'm confused
B
2
Posts: 2
Reputation: 154

Post » Sun Jun 30, 2013 11:11 pm

@Rebecaaax24

Set your arrow as a bullet and alter the gravity to suit. As long as the set angle property is set it should always point in the direction of travel.
B
47
S
16
G
9
Posts: 1,097
Reputation: 11,180

Post » Mon Jul 01, 2013 1:00 am

it does, but that's not the problem. if i set the behavior to bullet, the projectile will no longer collide with other objects -.-
B
2
Posts: 2
Reputation: 154

Post » Mon Jul 01, 2013 1:39 am

Try pinning a physics object to your bullet. Still may not be exactly what you want.
ImageImageImage
B
71
S
19
G
181
Posts: 3,484
Reputation: 103,689


Return to How do I....?

Who is online

Users browsing this forum: OddConfection, oddreal and 9 guests