xiangaodielian / bullet

Automatically exported from code.google.com/p/bullet
Other
0 stars 0 forks source link

run time of the function updateActions() #760

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
think the case like this,put a vehicle in a slope,old 
internalSingleStepSimulation() like this:
1.apply the gravity,and the vehicle has a velocity u0
2.apply the transform
3.update vehicle(correction the velocity produced by gravity),which will be -u0
next frame
1.apply the gravity and the vehicle has a velocity (u1 - u0)
2.apply the transform
3.update vehicle(correction the velocity)
.......

loop,the vehicle will be moved by the delta velocity (u1 -u0)every frame,this 
is not right.
so,i think updateaction() should work before integrateTransforms()

What is the expected output? What do you see instead?

so,i think updateaction() should work before integrateTransforms()
What version of the product are you using? On what operating system?
2.81

Please provide any additional information below.

Original issue reported on code.google.com by chineseo...@gmail.com on 29 Oct 2013 at 5:53

GoogleCodeExporter commented 9 years ago
moved to https://github.com/bulletphysics/bullet3/issues/79

Original comment by erwin.coumans on 30 Mar 2014 at 5:43