Total Pageviews

Monday, April 21, 2014

physics.setVelocityIterations()

physics.setVelocityIterations()
គេប្រើសំរាប់បញ្ចូលនៅតំលៃដ៏ត្រឹមត្រូវរបស់ engine’s velocity calculation។ តំលៃដើមវាគឺ៣
Syntax: physics.setVelocityIterations (value)
Value(តំរូវការ)វាជាចំនួនលេខដែលជា Iterations។ តំលៃដើមរបស់វាគឺ៣ មានន័យថា engine will iterate through three velocity ដែលមាន៣ហ្វ្រេមសំរាប់ Object នីមួយៗ
សូមមើលកូដះ
Physics.setVelocityIterations (6)

No comments:

Post a Comment