Jump to content

setFriction nor working


Recommended Posts

self.entity:SetFriction(0.01,0.01)

or

self.entity:SetFriction(1,1)

 

have the same effect : NO EFFECT sad.png

 

Could it be corrected for some next patch ?

Using solid physics are useless without that function working.

Stop toying and make games

Link to comment
Share on other sites

tried it with a cube and no issues here.

 

Try my example where you can set the friction on the fly:

http://code-i.de/LE3/frictionTest.exe

 

W,S,A,D and Mouse for camera

I,K,J,L and Space for moving the box

 

Up,Down,Left and Right for changing the Friction.

 

( i know the keys are awkward. smile.png )

 

You can have a look at the physicTest.lua if you can find anything that is different. However i don't do anything special i think.

Link to comment
Share on other sites

  • Upvote 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...