A downloadable game

This script is used to set model draw distance

How to use:

  1. Add the "Set model draw distance" behavior to the scene.
  2. Set the Player node to "PlayerNode"
  3. Set the current default node in the scene to "DefaultModelNode"
  4. Set the optimized node in the scene to "OptimizedModelNode".
  5. In "DrawDistance" enter the distance at which the optimized node will be activated and deactivated.
  6. If you want, you can activate "AutoPosition" to position and rotate the optimized node automatically.
StatusReleased
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorZEROdvf
Tagsccb, coppercube, extension, plugin, script

Download

Download
behavior_SetModelDrawDistance.js 1.6 kB

Comments

Log in with itch.io to leave a comment.

Hi diego please help me on this one

I've realized that when holding onto a key and action on keypress is set to set animation of a node, the animation fails to play in a loop perfectly, can someone please help on how to achieve the animation playing in a loop well