Actor should stop its course.
Posted: Mon Feb 13, 2006 11:31 pm
Hi!
I am again a bit stuck.
Here's what I do: When an animal is shot and lies in the grass, a timer is created that makes appear a voluture after some time. The voluture is created in the sky and with the help of makslanes cool code bit:
The voluture flies toward the dead animal, whereever it lays. Cool! At collision, the voluture changes animation and begins to eat the carcass. But...hey! all while doing this, it flies away. (beyond the carcass, out of the view.) How can I make that the volture, once it collides with the animal, stops its course and sticks on the carcass to rip it?
I am again a bit stuck.
Here's what I do: When an animal is shot and lies in the grass, a timer is created that makes appear a voluture after some time. The voluture is created in the sky and with the help of makslanes cool code bit:
- Code: Select all
angle = direction(x, y, yellowtarpan .x, yellowtarpan .y);
directional_velocity = 8;
The voluture flies toward the dead animal, whereever it lays. Cool! At collision, the voluture changes animation and begins to eat the carcass. But...hey! all while doing this, it flies away. (beyond the carcass, out of the view.) How can I make that the volture, once it collides with the animal, stops its course and sticks on the carcass to rip it?