Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark Physics & Dark A.I. & Dark Dynamix / plzz help trying to use force

Author
Message
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 3rd Nov 2007 23:07
hi,im trying to make a throw..i have an animation of my player throwing an enemy,i glue the enemy to my players hand when there in there throw animation.
after the animation..i make the enemy a phy dyamic object..

my problem is i want the enemy to go flying toward the back of my player but i cant get the enemy to face that direction,no matter what ive tried.

ive tried,making a hidden box,setting it behind my player,pointing the enemy toward it

ive tried using rotate object with the players y rotation + 180

ive tried alot of things and nothing seems to work.i want my enemy to always move toward the rear of my player.

can someone help me with this??
if anyone knows of some code or something??
posting my code here wont help bcoz ive already explained what im trying to do.
tks if u can help.

(ive been working on this for days..plz someone help me. lol)
david w
18
Years of Service
User Offline
Joined: 18th Dec 2005
Location: U.S.A. Michigan
Posted: 3rd Nov 2007 23:12
you have to set the orientation of the enemy to the players orientation

there is a formula you can use to calculate the forces. because your x,y and z forces will all be dependant of the direction and angles of the target object.

Login to post a reply

Server time is: 2024-11-24 20:19:00
Your offset time is: 2024-11-24 20:19:00