-
Does the obstacle avoidance steering behavior for multiple obstacles work even if the obstacles are one next to the other? As in a wall of obstacles between you and the target?
Thanks.
2009-07-15 10:37:56 UTC in OpenSteer
-
I found out the source of the problem was an error with my own code, the part dealing with trying to pass data from the physics objects to the opensteer objects and vice versa.
I've come across some more problems though.
So far I have two opensteer objects.
1) Player.
2) Enemy.
The player object in opensteer only recieves data(position and velocity) from the physical object but its...
2009-06-07 22:26:13 UTC in OpenSteer
-
Thanks for the reply.
I've been able to get something simple started with steerForSeek though I am having a little trouble figuring out how to properly stop my vehicle(Once the target has been reached).
void Test::update (const float currentTime, const float elapsedTime)
{
Vec3 target = Vec3(1,1,0);
Vec3 pos = position();
Vec3 steer = Vec3(0,0,0);
float d =...
2009-06-06 05:00:18 UTC in OpenSteer
-
I am confused about which members of the vehicle class do what. Which ones are responsible for the linear and/or angular velocity, direction and so on.
velocity() The overall velocity of the object?
forward() A vector pointing towards the object's facing?
side() ??
Also about the solution, what would happen if the object's position, velocity and angle changed say due to a collision or...
2009-06-05 20:06:21 UTC in OpenSteer
-
Thanks that fixed it.
2009-06-05 06:21:24 UTC in OpenSteer
-
I've started integrating OpenSteer into my project . Every time I try to compile though I get these three errors :S.
error LNK2001: unresolved external symbol "bool OpenSteer::drawPhaseActive" (?drawPhaseActive@OpenSteer@@3_NA)
error LNK2001: unresolved external symbol "bool OpenSteer::enableAnnotation" (?enableAnnotation@OpenSteer@@3_NA)
error LNK2001: unresolved...
2009-06-05 02:14:14 UTC in OpenSteer
-
Thanks a lot ^_^.
2009-06-04 21:10:28 UTC in OpenSteer
-
Hello I just came across OpenSteer a few days ago looking to implement some AI for a 2d top-down spaceship game I am working on. Been looking through the source code and documentation and am still rather confused as to how it all comes together. Right my game objects get their rotation, position, mass, linear velocity, angular velocity and so on from the physics engine I am currently using, I...
2009-06-04 18:54:46 UTC in OpenSteer
-
I got it from the subversion repository, only the trunk I think by following the directions in the documentation.
2009-06-04 06:41:34 UTC in OpenSteer
-
Hi, hope you don't mind me intruding. I am in about the same position as the thread starter, are you saying I should just take the source code and try to implement it independently?
On a side question:
I am trying to get the OpenSteerDemo to work/to build it but I am getting a bunch of error messages.
This make up the beginning of the error list.
1>OpenSteerDemo.obj : error LNK2019...
2009-06-04 02:42:32 UTC in OpenSteer