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
49
S
16
G
9
Posts: 1,098
Reputation: 11,222

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
22
G
247
Posts: 3,753
Reputation: 137,552


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests