y, it is sparkys dll function to prepare object for collision
[EDIT]
I have two sparky's dll's: SC_Collision.dll and Collision.dll. The one I am using is older one "SC_..."
Collision is required to get 3D position of mouse cursor. I don't really know how it works, coz just used someones else code to pick objects and 3D terrain coordinates.
The pathfinding problem stopped all my project

I allready have interface, constructing and autotargeting functions, some kinda economy... But before polishing them, I think it should be better to have everything working... better or worse, but everything. If objects can move self-dependant, I can go further to implement AI and other fun stuff.
Today I asked madscientist help- he has some nice node based pathfinding, but dunno if he will notice my post, and if he has time to edit his code.
It doesn't really matter 4 me now what type of pathfinding it would be... I just need any simple working pathfinding functions set so that my objects can travel between 2 points evading static objects like mountains, rivers and dynamic objects like buildings or each other. IMO units could use 1 tile and vehicles would have set some kinda range around them that tiles would be marked as impassable like squares of 4 or 9 tiles. So what I need is:
1) searchmap to be easily, simply editable from my programs other functions- not only when object has moved, but when I add or remove buildings, other units, destroy terrain.
2) next tile to go to and last tile so can check if distance is big enough for my object to move full speed (I determine objects speed by angle and distance penalties. If angle is 0 object go straight A->B full speed, if angle is less than 90 it moves slowly and turns until angle is 0, if angle is more than 90, tracked vehicle turns around on the spot, wheeled vehicle turns and moves)
My dream is realistic RTS, with units hiding from stronger enemy, searching for cover when fighting (like "full spectrum warrior")- not only standing and shooting, every civilian building dropping down after a heavy tank hit and trees laying down on heavy vehicles path (like "Desert rats vs africa corps"). I know it is nearly impossible to make something really good alone but I try
Join The dark Side! We have cookies
