6 registered members (AndrewAMD, Ayumi, degenerate_762, 7th_zorro, VoroneTZ, HoopyDerFrood),
1,268
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: [REQ] Wall/Ceiling climbing script example
[Re: lostclimate]
#175579
01/02/08 20:03
01/02/08 20:03
|
Joined: Mar 2006
Posts: 2,758 Antwerp,Belgium
frazzle
Expert
|
Expert
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
|
The jumping between angles is indeed a pain in the a*s due to GL off course but I think I'll post a small level with what I've got. The rotation works perfect but the jumping of angles is like mentioned a hard thing to get right. It seems after using ang_rotate for arbitrary rotation and switching to the native angles (pan, tilt and roll) again, that the angles shift. Thus defining angles after using ang_rotate is the only option AFAIK atm. Anyway, I'll probably post it tommorrow so you guys can play around with it as well Cheers Frazzle
Antec® Case Intel® X58 Chipset Intel® i7 975 Quad Core 8 GB RAM DDR3 SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB NVIDIA® GeForce GTX 295 Memory 1795GB
|
|
|
Re: [REQ] Wall/Ceiling climbing script example
[Re: frazzle]
#175580
01/03/08 05:03
01/03/08 05:03
|
Joined: Nov 2003
Posts: 1,257
Wade_Adams
Serious User
|
Serious User
Joined: Nov 2003
Posts: 1,257
|
Personally I don't think the camera would be the issue-- it would be the character itself "twitching" between angles unless the level is designed very carefully, but that will be an issue with complex level with wall climbing like that especially a cave with lots of irregularities. maybe and invisible "hull" to smooth it out.
Optimism is an occupational hazard of programming: feedback is the treament. Kent Beck
|
|
|
Re: [REQ] Wall/Ceiling climbing script example
[Re: Wade_Adams]
#175581
01/03/08 09:40
01/03/08 09:40
|
Joined: Mar 2006
Posts: 2,758 Antwerp,Belgium
frazzle
Expert
|
Expert
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
|
I promised that I post a little level which shows the wall/ceiling abilities. Basically it works perfect but only in one direction so you only can check the correct normal while following this order: floor->wall->ceiling->wall->floor so it's a one way street only atm ^^ Rotation on the floor, wall and ceiling can be executed but afterwards when switching from normal, this must be done in the order I described above. Here's the link Controls: -wasd; ws: forward/backward movement ad: pan left/right -double tap '0' will activate the camera; arrow keys: movement pageup/pagedown: looking up/down ^^ Play around with it and give my your C&C afterwards so we can make this perfect together Cheers Frazzle
Antec® Case Intel® X58 Chipset Intel® i7 975 Quad Core 8 GB RAM DDR3 SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB NVIDIA® GeForce GTX 295 Memory 1795GB
|
|
|
Re: [REQ] Wall/Ceiling climbing script example
[Re: Ilidrake]
#175587
01/04/08 20:37
01/04/08 20:37
|
Joined: Mar 2006
Posts: 2,758 Antwerp,Belgium
frazzle
Expert
|
Expert
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
|
@ lostclimate: I hope you succeed in making a better one since the restrictions my version has can be quite annoying indeed But I created it for a certain purpose and it is sufficient enough for the attemped goal atm @ Ilidrake: Thanks for the kind words and have fun playing around with it Cheers Frazzle
Antec® Case Intel® X58 Chipset Intel® i7 975 Quad Core 8 GB RAM DDR3 SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB NVIDIA® GeForce GTX 295 Memory 1795GB
|
|
|
|