Results 1 to 6 of 6

Thread: (best way)prevent actor moving across the buildings and wall

  1. #1

    (best way)prevent actor moving across the buildings and wall

    hi every body .
    my name is Orwa . i worked on delphi from a long time ago ..
    but i begin with 3D Game developing from few monthes ..
    i use Open GL (( GLScene )) ..
    in fact i see that i made a wonderfull progress in my game ,
    it is a FPS game(first person shoter) , like project IGI for example .
    it is now seems an integrated completly Game . every things actors enverument,buildings , shotting ,and i am now working in the cleverness of the game ..

    but ................
    I have a bug . in fact in << COLLISION DETECTION AND MANGERING>> .
    for example when the actor is collision with a building . he must stop moving forward , and slightly moving to left or right for example ,, i do a simple code but it does not work correctly >>
    i need to know how i kan prevent actor moving across the buildings and walls and boxes etc...

    so Can any body help me pleas .. with a similer code or with an idea ..
    thanks alot
    Ask them just what they think Delphi can't do, and show them they're wrong! Abo Delphi .

  2. #2

    (best way)prevent actor moving across the buildings and wall

    Hi Orwa, welcome to these forums!

    I could not tell from your message what kind of collision detection system you already have, or even if you already have a collision detection system, but depending on the accuracy of the check, you could do a google for '3D (bounding box) collision detection'. There's lots of info to be found on that topic.

  3. #3

    (best way)prevent actor moving across the buildings and wall

    Thanks so mush Traveler ..

    ohh ... I am sorry , ..
    I use GLScene , and the collision manger component with it .
    in fact i see that Collision manager is not working correctly when you rescaling objects , and it make many problems to me ,
    some like : it generate a collision detection from a wide distance from the wall ... ??

    and other thing that it must be another code for prevent the actor moving forward (or left or right) when it touch the wall , i mean what is the function to know when stop and when walk ..

    if you have an answer pleas write me ....
    thanks agin .
    Ask them just what they think Delphi can't do, and show them they're wrong! Abo Delphi .

  4. #4

    (best way)prevent actor moving across the buildings and wall

    I do not have enough knowlegde of glscene to answer you question properly. I recommend trying it again in the glscene newsgroups

    news://forums.talkto.net/glscene.general
    news://forums.talkto.net/glscene.support

    you could also try the glscene forum here

    Though a better option alltogether would be to move this topic to the glscene forum. One of the mods should do that.

  5. #5

    (best way)prevent actor moving across the buildings and wall

    Moved to GLScene forum sir! :salute:

    Good luck orwa

  6. #6

    (best way)prevent actor moving across the buildings and wall

    Thanks so much guys ..

    i'll do it till last day in my life >>>> ((tomorrow?)) :roll:
    Ask them just what they think Delphi can't do, and show them they're wrong! Abo Delphi .

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •