Ammo.Js kinematic controller

Hi,
I have some questions about ammoJs kinematic controller. I have already read all the threads in the forum about and @Cedric answer:

I’m trying to create a controller on my side referring to

My first question is What controllerK.setUseGhostSweepTest(false) do because according to one post should be set to true but in my case when is set to true object fall down ?

Second question actually the mesh is still overhead and i cant turn it when i turn it her position.y is to high .
Can someone help me many thanks

Hi @Masty88

I think the quaternion components (x,y,z,w) are not in the same order. Once changed it looks better :

Regarding the setUseGhostSweepTest, I have no idea and a simple Google search didn’t bring anything interesting in the first pages.

2 Likes

Thank you it was just this i’m not to strong on quaternion…i post here an interesting thread from three.js forum where there are a lot of information regardig ammo kinematic_

in fact if i have understand well object fall because my ground is not a kinematic object but just a static object so for the moment i will set the to false and when i have time i will test

My first question is What controllerK.setUseGhostSweepTest(false) do because according to one post should be set to true but in my case when is set to true object fall down ?

I think the answers you’re after live here:

and here:

But I am not smart enough to summarize it :stuck_out_tongue:

1 Like