Object collision
#9

What's the path of that rocket?

If it's a non-homing rocket which travels a straight line, just use CA_RayCastLine once and you know the end position.

For more complex paths (eg homing rocket with moving target, like a vehicle) it's almost the same, just that you have to raycast for every change in direction that the rocket does.

CA uses way less resources than you think. A 5000 Node 3D Path can be checked for collisions within a few ms (using raycasting), and I seriously doubt any Rocket will fly that far. If the target is moving it has to check only once every few ms anyway.
Reply


Messages In This Thread
Object collision - by ranme15 - 30.06.2017, 20:06
Re: Object collision - by ranme15 - 01.07.2017, 14:20
Re: Object collision - by Hansrutger - 01.07.2017, 15:14
Re: Object collision - by coool - 01.07.2017, 15:26
Re: Object collision - by Whatname - 01.07.2017, 15:33
Re: Object collision - by ranme15 - 01.07.2017, 15:43
Re: Object collision - by Hansrutger - 01.07.2017, 17:43
Re: Object collision - by Nero_3D - 01.07.2017, 19:57
Re: Object collision - by NaS - 01.07.2017, 21:48
Re: Object collision - by ranme15 - 01.07.2017, 21:59
Re: Object collision - by NaS - 01.07.2017, 22:43

Forum Jump:


Users browsing this thread: 1 Guest(s)