FSIC Messageboard
  Tech Talk
  Question About Dofs

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Question About Dofs
FarmerJoe
Pilot
posted 12-21- 10:11 PM     Click Here to See the Profile for FarmerJoe   Click Here to Email FarmerJoe     Edit/Delete Message   Reply w/Quote
Is there a dof that rotates on it's own? I know that CTire rotates on it's own but when I try to make the hook fly up when it grabs a cable on the deck, the hook just keeps spinning like a tire =( anyone have any suggestions? Should I add a dofId to it as a pitch and leave the obProto CTire out of it or what? I want the hook to also come up underneath the plane when the plane is sitting on it. Thanks!

take'd easy now
FarmerJoe

IP: Logged

Sv
Pilot
posted 12-22- 05:47 AM     Click Here to See the Profile for Sv   Click Here to Email Sv     Edit/Delete Message   Reply w/Quote
Yea, you don't want CTire in the mix. You just want a rotational DOF that has a range from the lower to upper position of the hook. Also you will want a spring attached that will keep the hook down when lowered. Now if the collision points are set up right (I have trouble with this) - the hook will rotate upward when there it contacts the ground.

It still seems to me like most people are having trouble setting collision points. For example, If I set one on a wing tip, the wing still falls through the ground. Is there a special trick? I am using the DOF origin method of finding the coordinate. I did get one to work at the top of my SE5a once, when it flipped upside down this collision point held the plane up. Maybe I am just getting the coords wrong...

------------------
-Sv =FC=

WWI in SDOE!

IP: Logged

FarmerJoe
Pilot
posted 12-23- 12:19 AM     Click Here to See the Profile for FarmerJoe   Click Here to Email FarmerJoe     Edit/Delete Message   Reply w/Quote
Sv where should i put the spring? in its own dof or the same rotational dof? Also I found it easier to take the co-ords for the obBodypts() out of the .obj file. You just take your OBJ file and plot the points in your 3d program, then delete the ones except for the ones you added, and you should only have on per side of the object =). I will send you a link to my site later on, and I want you to look at the hook for me, and tell me what needs to be done with the dof please...Also tell me what parts you are having problems with on the body parts and I will fix them for you!


take'd easy now
FarmerJoe

IP: Logged

Spanky the Mad Dog
Pilot
posted 12-23- 12:46 AM     Click Here to See the Profile for Spanky the Mad Dog   Click Here to Email Spanky the Mad Dog     Edit/Delete Message   Reply w/Quote
SPanky here..

Bryan if you read this any word on the body points being in OPS?
i can't find your list of stuff you want to add to it

thanks

IP: Logged

FarmerJoe
Pilot
posted 12-23- 02:54 AM     Click Here to See the Profile for FarmerJoe   Click Here to Email FarmerJoe     Edit/Delete Message   Reply w/Quote
Sv when I was messing with the min/max ranges, on some settings, when I started up and the plane was sitting on the runway, it would make a noise like something was detaching and then the game would freeze...Do you know what this is by any chance?

take'd easy now
FarmerJoe

IP: Logged

Sv
Pilot
posted 12-23- 08:05 AM     Click Here to See the Profile for Sv   Click Here to Email Sv     Edit/Delete Message   Reply w/Quote
Hey FarmerJoe,

The string should be part of the rotational DOF - just look at the DOFs on the wing - they are rotational with springs...

If you send me the plane (sean@schoolmusic.com) I will try to get the hook to work... as long as the collision point is correct the rest should be very easy

As far as that detach thing, all I can say is that something is out of wack. You really can not do any "guessing" when it comes to synax, or what stuff gets what properties - problems will occure. I akways do my guessing, then find out how to do what I was trying to do, then roll back to an old version and apply the propper changes. If you get something to work, but are not sure how you did it, be weary!

I use AC3D, so I never use OBJ files I add collision points manually - but Bryan's new OPS special version shows collision points, AWESOME! Man was my SE5a messed up!

------------------
-Sv =FC=

WWI in SDOE!

IP: Logged

FarmerJoe
Pilot
posted 12-23- 08:11 AM     Click Here to See the Profile for FarmerJoe   Click Here to Email FarmerJoe     Edit/Delete Message   Reply w/Quote
Sv:
Okay you said to look at the wings and stabilizers etc...I looked at them and I did notice the dofSpring (10000000) on them and then rotate dof:
min 1
max -1
so that means it will rotate left and right one degree. Okay so how could i get a spring to automatically control my hook?

take'd easy now
FarmerJoe

IP: Logged

Sv
Pilot
posted 12-23- 08:38 AM     Click Here to See the Profile for Sv   Click Here to Email Sv     Edit/Delete Message   Reply w/Quote
I would do it like this:

First I take it that you need the hook to swing down on a keypress, right? If so, look here for info on how to do this:
http://www.schoolmusic.com/chickencoop/se5a/docs/dofs.htm

Now you will have created 1 rotational DOF that swings the hook down/up on a keypress. You will need to add a spring to this dof so that when it contacts the ground (or wire) this force will move the DOF automaticaly. Just add a dofSpring(somenumber) and make the min be 0 and the max be the max angle of the rotational DOF. I am guessing here - yo u will need to expiriment. I'm not sure what directoin min and max will be. I guess that if you built your hook LOD in the UP position, that min would refer to the DOF in that position - just guessing on this one - try it!

Just remember, springs need a DOF! A spring needs to know what movement is supports - they ar not stand-alone items.

You will probably need a very low dofSpring value so the spring gives easy on impact. Once again, guessing

Let me know how(if) it works!

-Sv

IP: Logged

FarmerJoe
Pilot
posted 12-23- 09:46 AM     Click Here to See the Profile for FarmerJoe   Click Here to Email FarmerJoe     Edit/Delete Message   Reply w/Quote
Sv:
The hook was made in the down position. Do i need one rotational dof or two? I am emailing the plane to you right after I post this...So please look over it for me and I will be on ICQ so you can contact me there
icq#58701835

take'd easy now
FarmerJoe

IP: Logged

Sv
Pilot
posted 12-23- 01:52 PM     Click Here to See the Profile for Sv   Click Here to Email Sv     Edit/Delete Message   Reply w/Quote
Cool,

I will be on-line later today.

You need 1 DOF as far as I know. It should rotate from the down position to the up position. You do not need a seperate min/max for the spring -just the dofSpring property.

-Sv

IP: Logged

FarmerJoe
Pilot
posted 12-24- 01:54 AM     Click Here to See the Profile for FarmerJoe   Click Here to Email FarmerJoe     Edit/Delete Message   Reply w/Quote
So let me get this straight, the same prop list I have the dofOsc in I put a dofSpring value right? Well when I make the springs weak, the game just crashes when I start! Did you get a chance to look at the plane yet? I mailed it to you.

take'd easy now
FarmerJoe

IP: Logged

Sv
Pilot
posted 12-24- 01:12 PM     Click Here to See the Profile for Sv   Click Here to Email Sv     Edit/Delete Message   Reply w/Quote
Yea, got the plane FarmerJoe - but I got caught up in all this Christamas stuff - bah humbug!

I will look at it soon!

-Sv

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Fighter Squadron Information Center

(This site Copyright (c) 1999 Inertia LLC)

Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.45c