3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1]

Author Topic: Car driver  (Read 373 times)

« on: February 08, 2014, 10:34:59 AM »
How to make the andro skinmesh's hands move with the steering wheel?
I have made the steering wheel rotate with the steering angle.
How to make the andro always sit on the seat?
--Sam
« Reply #1 on: February 09, 2014, 08:18:30 AM »
sam... how does this have anything to do with Optimization Tips...

the reason the forum is divided into the different sub forums is so that related topics can be grouped together to facilitate exchange and keep things organized...

if you can place your questions in the proper forum, i'm sure you'd get quicker responses, and it'd go a long way towards keeping things a lil organized...


--Mike
« Reply #2 on: February 10, 2014, 08:29:13 PM »
Eazy Peazy (re: Seldon cooper).

Super Glue....

Wait till Andro isn't looking, strategically place the glue at 2 & 10 o'clock on the steering wheel, and have Andro climb into the vehicle.

2 or so seconds later, i guarantee his hands will follow the wheel :).
« Reply #3 on: February 12, 2014, 03:06:18 AM »
One of the only ways you would be able to do it is to re animate andros animations.
As it is a defult readymade skinmesh the arms cant be forced to follow without distorting the mesh or rotating the entire body.
« Reply #4 on: February 12, 2014, 07:33:04 AM »
Where to post this topic , mike?
--Sam
« Reply #5 on: February 13, 2014, 12:11:52 PM »
One of the only ways you would be able to do it is to re animate andros animations.
As it is a defult readymade skinmesh the arms cant be forced to follow without distorting the mesh or rotating the entire body.

Cobbster as usual  ;D  The only way?  ::)


int iObjectBonesCount(OBJ_X) # void iObjectBoneOrientation(OBJ_X,int,Quaternion,int) # void iObjectBoneOrientationSet(OBJ_X,int,Quaternion,int)
What is it for?

You cannot make Animations for every situation, car, model, etc. Hands follow a wheel is probably best if you script it.

First write an Animation Editor Script with which you can scroll with keystrokes through all bone joints and turn the bones in the directions you want by pressing keys.
Set Andro inside the car. Then turn the arms elbows and hands joints with those keys using  iObjectBoneOrientation() iObjectBoneOrientationSet() iQuaternionFromEulerAngles() and iQuaternionToEulerAngles().
Remember min and max angles for each of those Bone Orientations you need.
Now write the Player Script which is used in your game. Nearly the same as the Animation Editor Script ... but instead of finding and turning the bones with keystrokes set the bone number and calculate the angles using the stearing wheel angle.
That's it.
« Last Edit: February 13, 2014, 12:16:45 PM by Leonopteryx »
Using 3D Rad 7.22
« Reply #6 on: February 13, 2014, 04:21:01 PM »
sammy... these type of questions would do better in the Tech sub forum...
ask it there and i'll try and guide you...   

this section is for optimization tips and discussion...

--Mike
« Reply #7 on: March 08, 2014, 03:12:25 PM »
Eazy Peazy (re: Seldon cooper).

Super Glue....

Wait till Andro isn't looking, strategically place the glue at 2 & 10 o'clock on the steering wheel, and have Andro climb into the vehicle.

2 or so seconds later, i guarantee his hands will follow the wheel :).
hahahahahaha thats actually pretty funny!
I be trippin!
Pages: [1]