Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / BSP + 3rd Person Camera bug.

Author
Message
Zep
21
Years of Service
User Offline
Joined: 31st Aug 2002
Location: From PA, USA. Currently reside in Hanoi, Vietnam
Posted: 26th Sep 2002 21:58
with an object using the built in BSP collision:

position camera 0,object position x(1),object position y(1),object position z(1)

assuming you are using x# to position the objects x position

object position x(1) does not return object 1's actual x position in the world, it returns object x's (x#) variable, which is not correct because of the automatic bsp collision not returning the proper location back to the variable (I guess)

I believe this makes it pretty much impossible to make a semi-decent 3rd person camera since trying to set the camera to object x's ACTUAL position during a BSP sliding collision until the collision condition is gone.

for example

position object 1,x#,y#,z#
position camera 0,object position x(1),object position y(1),object position z(1)-5

the camera will not follow the object if the object is being repositioned by the automatic BSP collision.


Anyone else notice this? Any work around?


Zep--
Zep
21
Years of Service
User Offline
Joined: 31st Aug 2002
Location: From PA, USA. Currently reside in Hanoi, Vietnam
Posted: 27th Sep 2002 16:04
so..there is no way to get the TRUE X Y Z position values of an object if it's being repositioned by the "automatic" bsp collision?

Zep--

Login to post a reply

Server time is: 2024-04-26 02:32:33
Your offset time is: 2024-04-26 02:32:33