Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (monarch), 1,259 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 4 of 5 1 2 3 4 5
Re: [REQ] Wall/Ceiling climbing script example [Re: vlau] #175598
01/09/08 09:32
01/09/08 09:32
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
If you've seen the "arbitrary turret" thread, then I plan on using the same concept. Rotate the offset of the target, than ang_rotate() to face it... We'll see


xXxGuitar511
- Programmer
Re: [REQ] Wall/Ceiling climbing script example [Re: xXxGuitar511] #175599
01/09/08 19:01
01/09/08 19:01
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
About that thread, I've talked about it with Fenriswolf and it basically not works when he moved the turret. It only worked if he predefined the angles
Thus, I think you might need to change to concept abit like I did on my version but as you probably know, it has some restrictions ^^

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] #175600
01/10/08 17:26
01/10/08 17:26
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
Works fine with my version. I have a turret (one model using bones) that I can move or rotate at any angle, and it will slowly rotate to face the target.


xXxGuitar511
- Programmer
Re: [REQ] Wall/Ceiling climbing script example [Re: xXxGuitar511] #175601
01/10/08 19:17
01/10/08 19:17
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Could you post a little demo of that
Btw, does it still work after shifting the normals ??

Thanks in progress

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] #175602
01/10/08 19:49
01/10/08 19:49
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
I was actually just going to tune it up a bit and start a "xXxContributions" thread, including a "terrible" turret model I made for it

...Shifting normals? What exactly do you mean?


xXxGuitar511
- Programmer
Re: [REQ] Wall/Ceiling climbing script example [Re: xXxGuitar511] #175603
01/10/08 20:23
01/10/08 20:23
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Quote:

I was actually just going to tune it up a bit and start a "xXxContributions" thread, including a "terrible" turret model I made for it





Well, then I'll be waiting I guess

Quote:


...Shifting normals? What exactly do you mean?





I mean shifting from normal when going from a floor up to wall up to a ceiling and visa versa. The normal will change during that process like the little compiled version I posted
Hope that helps.

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] #175604
01/10/08 21:16
01/10/08 21:16
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
Ok. Yes, it works with any angle, even changing. You could place it on the back of an airplane if you wanted

I added the feature of rotating to face the target instead of always facing. Now I'm addind a system that uses trigger_range to detect threats and then shoot. It's already working, I just want to cleen it up a bit


xXxGuitar511
- Programmer
Re: [REQ] Wall/Ceiling climbing script example [Re: xXxGuitar511] #175605
01/10/08 21:37
01/10/08 21:37
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Oke, I'll be waiting for your little 'demo' to test it out then

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] #175606
01/12/08 02:20
01/12/08 02:20
Joined: Jan 2007
Posts: 221
F
Fenriswolf Offline
Member
Fenriswolf  Offline
Member
F

Joined: Jan 2007
Posts: 221
Yeah, xXxGuitar is right; with bones it works without any problems.

I am using the code for the rotatable turrets of some space battleships.
The turrets are rotated by two bones, whereby one bone handles pan rotation and the other tilt rotation.

However, as frazzle said, this rotation stuff doesnt work properly when the models pan and tilt angles are altered directly.

Well, I'm not much of a mathematician, so I dont know whats going on there. ;-)

Re: [REQ] Wall/Ceiling climbing script example [Re: Fenriswolf] #175607
01/12/08 02:38
01/12/08 02:38
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
As soon asthis level finishes compiling, I'll try and get my code finished up and get that thread started...

After this turret, I'm going to post some code for walking around on a circular level (planet), including physics. Nothing special, but it's fun to figure out


xXxGuitar511
- Programmer
Page 4 of 5 1 2 3 4 5

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1