OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: charunks on 20 Jan 2004, 22:56:01

Title: an axis problem
Post by: charunks on 20 Jan 2004, 22:56:01
Hi all, I think this should be post here...

I have a problem with a turret ingame. The axis on which the turret rests is beeing twisted and messed up if the turret turns around.

it should be like this:
(http://www.thelegendaryforce.nl/temp/18.JPG)
and when the turret turns it' s like this
(http://www.thelegendaryforce.nl/temp/19.JPG)

could anyone tell me what I did wrong?

thnx!
Title: Re:an axis problem
Post by: Pathy on 21 Jan 2004, 11:51:11
Ermm is the barrel part of the gun modelled to the mount. If so, try modelling them separately and just moving them together so they have the illusion of being joined.
Title: Re:an axis problem
Post by: ScouseJedi on 21 Jan 2004, 22:20:15
The problem is the vertexes included in otocVez

Make your base / middle bit and barrel in 3 seperate sections

The middle bit just needs to be a cylinder - place the bottom of it inside the base and the top inside the gun barrel/breec

Then simply include barrel and cylinder in OtocVez and it will turn OK

atm you seem to have the cylinder actually meeting vertexes in the base which dont move when the rest rotates.
Title: Re:an axis problem
Post by: charunks on 21 Jan 2004, 22:22:46
thnx got it fixed.. and fixed good :D
Title: Re:an axis problem
Post by: Pathy on 22 Jan 2004, 16:11:06
Glad to hear it. >>Topic Solved<<