Passing data to the engine (C++ question)
by Karl · in Technical Issues · 12/13/2006 (4:19 am) · 2 replies
Hi guys,
Im currently trying to modify some torque script which implements pathfinding, i want to do the bulk in c++ to speed things up.
can anyone tell me how i could pass an objects ID from the script to a c++ module and how using that ID i could get the objects details in c++.
im a basic programmer so please try to keep it simple.
thanks
Im currently trying to modify some torque script which implements pathfinding, i want to do the bulk in c++ to speed things up.
can anyone tell me how i could pass an objects ID from the script to a c++ module and how using that ID i could get the objects details in c++.
im a basic programmer so please try to keep it simple.
thanks
#2
However, using the link Martin posted, or implementing any kind of AI code, should be done in the engine for increased speed and lower overhead. Again, get that SDK to move forward =).
Good luck.
12/13/2006 (5:52 am)
Yup, you'll need the SDK to modify engine code. There are script based A* routines, which you can ask about in the Torque Public Forums(which is where you probably want to ask the majority of your Torque mod questions).However, using the link Martin posted, or implementing any kind of AI code, should be done in the engine for increased speed and lower overhead. Again, get that SDK to move forward =).
Good luck.
Torque Owner Martin Busse
Default Studio Name
Second: A* path finding made lightning-fast by pre-compiling