Author Topic: off axis rotation (turrets in particular)  (Read 10205 times)

0 Members and 1 Guest are viewing this topic.

Offline MetalDestroyer

  • Starwars reborn!
  • 210
Re: off axis rotation (turrets in particular)
Bookmark this topic.

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: off axis rotation (turrets in particular)
Forgive the obvious lamen here, But i assume that we will now have side mounted turrets? 
Resulting in mega broadside style death? :) :confused:
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline Col. Fishguts

  • voodoo doll
  • 211
Re: off axis rotation (turrets in particular)
As soon as this hits CVS (which might take a while), yes.

Thanks Bob for working on one of the oldest requests ever.
"I don't think that people accept the fact that life doesn't make sense. I think it makes people terribly uncomfortable. It seems like religion and myth were invented against that, trying to make sense out of it." - D. Lynch

Visit The Babylon Project, now also with HTL flavour  ¦ GTB Rhea

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: off axis rotation (turrets in particular)
Whoopee, i'll cgheck up on the progress of this when i get back :D  :yes:
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline Flipside

  • əp!sd!l£
  • 212
Re: off axis rotation (turrets in particular)
Heh, I'm going to have to go and relearn vectors again now :D

 
Re: off axis rotation (turrets in particular)
Sweet!!!

Having a problem though.... The actually bolt is coming from the wrong place, no wheres near the actually turret itself.  The firepoint in modelview shows up correctly and the y axis in truespace is showing up pointing forward/outward.
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: off axis rotation (turrets in particular)
what are you sub object properties?
describe the turret in more detail (or post a screen shot)
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 
Re: off axis rotation (turrets in particular)
Ugh not having much success...

Ok if I had a turret with a normal of (-1,0,0) [facing straight out port side]

would the uvec be: -1,0,0 (pointing in the normal's direction) or would it be 0,-1, 0 (pointing straight up)?
and the fvec be: (0,0,-1) (pointing straight forward)
?
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: off axis rotation (turrets in particular)
well you are defining what is up and forward for the turret so your uvec should be -1,0,0 and the fvec should be 0,0,1 (what you had is backwards).
keep in mind that the turret has to be modeled to look like this before you add this stuff in.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 
Re: off axis rotation (turrets in particular)
Ok that helps a bit... the turret barrel is tracking the target correctly (or at least it seems) but the firepoint is way off




Also would it be possible to lock an axis for the up arrow (like the X) and forward (the Y axis) automatically so you wouldn't need the uvec and fvec?
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: off axis rotation (turrets in particular)
can you give me that test pof?
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 
Re: off axis rotation (turrets in particular)
Sorry had to leave for a while...

It's probably something stupid I'm doing that works ok in the normal version.
http://www.wcsaga.com/~team/Scooby/Custom_Mod/test_turret.rar
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: off axis rotation (turrets in particular)
ok, I think I see what's going on, all my test models used arms that were centered on the bas, this has a rotation point well above it, I guess I've got something to fix then.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 
Re: off axis rotation (turrets in particular)
huh? it should be centered on the base.... the arm's pivot point is right next to the turret base, and the turret's base should be centered on the base box.

edit: how do i visually check where the pivot points are in modelview?
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: off axis rotation (turrets in particular)
if you hit the 'rotate parts' button it'll show it. (sometimes)

it's not centered on the base it's centered (from the turret's perspective) above it, in all my test data the base and arms were in the exact same position, so I didn't catch this till just now.

funny thing is I could have sworn I took care of the function were the problem was in, oh, yeah, fixed it.

http://freespace.volitionwatch.com/blackwater/fs2_open_Bobboau_11-19-06.zip
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 
Re: off axis rotation (turrets in particular)
I think you fixed it!   :)

Now I can go back and start thinking about how to side mount my cap ships.  If they're complaining about features being added and not used... this definetely won't be one of them!!!! *bounces up and down happy with joy*
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: off axis rotation (turrets in particular)
keep in mind this isn't going to be in any official builds until after the next release. so don't do anything that's going to be mission critical with it untill after that.

though with the new branching thing I'll probly get it committed soonish.

and don't forget that you can do more than just side mounting, you can put a turret at prety much any angle you can figure the uvec for
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 
Re: off axis rotation (turrets in particular)
Any idea how soon will that be?

If nothing else I think I can get by by using a "fake"  version (i.e. not multi-turret) until then and then just change the turret's arm to the real arm
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: off axis rotation (turrets in particular)
that could work.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Raptor

  • 210
Not to mention one of the reasons for debug builds is that they ***** about things that might cause problems, even if they are minor. As Kara said, the solution is to fix the problems and not to complain about the build pointing them out for you.

Except when you are given no clue as to what the problem is.

Only just got round to trying this... but the build just quits on me.  I just get Windows' 'this program has performed an illegal operation and will be shu down.  Sorry for the inconvinence.' message. :hopping:

the 29th August 3_6_9 build runs fine for me, but any debuild just gives me that ^.

I'll try ripping out all my mod tables and try again...  :sigh:

EDIT: Nope, still didn't work.

EDIT2: BTW, I was trying the build in the first post, if that makes any differance.
« Last Edit: November 23, 2006, 06:31:50 am by Raptor »
...There ought to be something surreal about a Zoid offering romantic advice...and yet there is not. It seems perfectly normal that the Liger is giving Bit advice on relationships, and it shouldn't, but it does. Dangit man, you've confused me again.[/I]
NGTM-R review of one of the chapters in my fanfic story :D Story is here! -> 'Ancient Legacies'