Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Could anybody help me with a system for the grass so that once the mower has passed over the blades of grass they get smaller/ disappear I had tried to make a system like this a while ago but failed thanks |
||||
|
i hope this help you... https://youtu.be/0CXZ8KPt5KM?si=... |
||||
|
I appreciate it, but I was thinking more like just if the mower passes over the grass the grass automatically would disappear or do whatever action I set thanks |
||||
|
Same concept but use SM car controller for mowing machine and add a proximity sensor on the grass. You can add variables on the grass to decrease once travel over it. |
||||
|
yeah, thanks for the suggestion, I've tried that already and I can't seem to get the grass to go it will sometimes but other times it won't |
||||
|
I have a solution for this. to use this script put it on the grass node each 1 ms, execute javasscipt and the grass will delete when player close note: you will have to change the player1 name to your lawmover name or player
|
||||
|
You should avoid looping through large amounts of scene nodes unless you want to kill your framerate. It'd be better to put this on something like an On Proximity behavior because then you are only checking the grass inside the proximity. |
|