Forums

OverviewV-Play 1 SupportHow to create terrain › Reply To: How to create terrain

OverviewV-Play 1 SupportHow to create terrain › Reply To: How to create terrain
#6828

Raimonds

Hi, Chris

Thanks for quick response.

that Link does not work… but i found that at help – colliderbase has property “sleepingAllowed”… is this is the right property?

 
<div>
<table>
<tbody>
<tr valign=”top”>
<td>sleepingAllowed : bool</td>
</tr>
</tbody>
</table>
</div>
<div>

This property holds whether the body is allowed to get inactive for performance optimizations. The default value is the inverse of collisionTestingOnlyMode, so <tt>sleepingAllowed: !collisionTestingOnlyMode</tt>. This is needed to avoid sleeping when the collider gets used for collision detection, because if no forces or impulses are applied to the body it will sleep by default.

If collisionTestingOnlyMode is left at its default value (Which is false), this property has the default value <tt>true</tt>.

</div>

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support