SamNainocard
Member
|
Simulating Projectile Path
Hi everyone, I'm currently try to find a way to draw a projectile path within 1 frame.
I'm using Dummy Actor.vel(ProjectileSpeed) and draw with D.lines(),
the problem is, it takes time until dummy actor to reach destination.
Is there a way to make actor reach its destination immediately?
Or is there a better way than this?
|
|
03-30-2014 06:19 AM |
|
Tottel
Member
|
RE: Simulating Projectile Path
Hi there,
Sounds like you want to predict the trajectory of a projectile, right?
You can't just launch a dummy object and expect it to arrive (along a correct path) in 1 frame. You have to use a formula that takes the origin, velocity and acceleration into account.
A quick search gave me this topic: http://morgan-davidson.com/2012/06/19/3d...rediction/
It should be very similar for EE, though I would imagine you also need to consider the mass of the object.
|
|
03-30-2014 08:34 AM |
|
SamNainocard
Member
|
RE: Simulating Projectile Path
Ahh, so that's the name. Projectile Trajectory.
Appreciated for the link, it seems simple enough.
|
|
03-30-2014 01:42 PM |
|