2 Havok problems


hi,
i hate bug guys again, still having serious problems. problem this...
firstly, knows 2 behaviour scripts using, create terrain behaviour script copied raycast jeep demo , raycast script copied off remote control car demo. in other words, project consist of 3d scenery consist of car, there no hke file, , attached 3d sprite following behaviours in order

1. havok (no hke) script

2. create terrain script --> remember, same script used in raycast jeep demo find here http://director-online.com/havok/xdev/docs.html

3. raycast script --> remember, same script used in remote control car demo find here http://director-online.com/havok/demos/demo-cardemo.html

after running script, , wheels touch ground, chassis , wheels fly on place. first question this....

1. how stop chassis , wheels flying on place? not know how set settings considering not not understand havok, not know physics.

2. second question this, wanted know why demo casting ray off of sort of wheelpointlist calculation insetad of casting ray off of wheels worldpositions? example,

the script uses this....
repeat = 1 pwheelpointlist.count
pishoveringlist[a] = false
worldwheelpoint = temptrans2 * pwheelpointlist[a]
intersectdetails = pmember.modelsunderray ( worldwheelpoint, \
worlddowndir, \
6, \
#detailed)

and want know why can't this....
... note pwheellist stand 4 wheel models built list set when initializehover called

repeat = 1 pwheellist.count
pishoveringlist[a] = false
intersectdetails = pmember.modelsunderray(pwheellist[a].worldposition, worlddowndir, 6, #detailed


if need entire script let me know , post here. otherwise if appreciate it.

ok, tried tweeking things turning of lines of code comments disable being called. after disabling , reabling lines of code found out disabling applyforceatpoint @ least stopped chassis , wheels flying on place. however, first try after disabling force, car not move. increased accereation, , after holding arrow second, car jigggled bit , sped off 200 mph, sort of holding down car , releasing it. how can car move forward car suppose move?

and btw still know second question above post


More discussions in Director 3D


adobe

Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support