How do I make a curved path for a bullet

Get help using Construct 2

Post » Tue May 27, 2014 10:15 am

Hi,

As the topic suggests, I'm trying to find a way to make a bullet follow a curved path, could be random I don't really mind.
I found a way to do it with multiple objects as path points but I would like to know if there is a more efficient way of doing it.
Another way was to use gravity(bullet behaviour) but I think this only works for the Y axis.

Thank you!

An example of what I have in mind:
You do not have the required permissions to view the files attached to this post.
@coyowl

coyowl.com

Game studio with a portfolio of 3 Apple Featured games.
B
31
S
7
G
2
Posts: 111
Reputation: 2,422

Post » Wed May 28, 2014 1:22 pm

take a look at lerp, qlerp and cubic lerp, that could help you on your way.

they are nicely described here
B
20
S
6
G
4
Posts: 347
Reputation: 4,451

Post » Thu May 29, 2014 11:08 am

Thank you very much!
@coyowl

coyowl.com

Game studio with a portfolio of 3 Apple Featured games.
B
31
S
7
G
2
Posts: 111
Reputation: 2,422


Return to How do I....?

Who is online

Users browsing this forum: Euduardo, Kin, mikehive, ratboy3, tinhofiel and 36 guests