levi
1
hello,
hard time describing this…
trying to make some sort of homing missile animation.
so im using the heading node to rotate missile towards target.
I want to do it so when the target changes direction, the missile maintains forward movement thus making an arc as it tries to lookat target again.
im missing something.
hope im making sense
SmoothFollow.v4p (17.3 kB)
mrboni
2
rotate (successive vector)
make target angle point towards target - subtract missle position from target position to get the look at vector
mrboni
3
sorry, wasnt very clear, or useful. Will send patch when less drunk :)
sapo
4
you should be able to make a nice missiles launcher with this contrib
boids-3d
levi
5
hehe,
friday night nerd fun.
guest
6
This sort of thing?
SmoothFollow2.v4p (19.4 kB)
levi
7
@sapo i thought of it but seems a bit overkill for this, also i think it has the same problem
@guest uhh, i dont see any difference from my patch, is there something?
the problem is that the missile should never rotate around its own axis when
changing direction
mrboni
8
here ya go
check direction
align direction (over time / ie not immediately)
move
missile.v4p (20.3 kB)
…so lets build geometry wars - retro evvvvolved
levi
10
great patch, danke mrboni.
white house we re coming :)