Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Modifying a Deformed Mesh
Hi guys! Can you help me with my problem: I am trying to make a clone of Snake Run Race ( and I have It's great to use spline movement. I just use the mesh deformation and control the spline with the mouse. The controls really look the same. But there was a problem and I do not understand how to solve it. The bottom line: the snake eats the apple and it grows a little. Scale cannot be used in this case, I would like to add polygons to a mesh that is already generated in the generator. How to be? Any thoughts?
If I understood you well, you want to apply an operation (mesh modification) on the generated mesh each time it is updated.
To do so, listen to the OnRefresh event of the Create Mesh module:
In your event handler use the usual Unity mesh related methods to modify the mesh
Did this help?
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Skip Input Mesh if spline has too much bend Zilk1 3 5 09-27-2023, 09:45 PM
Last Post: _Aka_
  Adding Begining and End Mesh to Spline velikizlivuk 2 4 08-02-2023, 11:10 AM
Last Post: velikizlivuk
  Fading in/out extrusion mesh of a spline? _RicO 3 5 07-25-2023, 09:40 PM
Last Post: _Aka_
  How to generate mesh on spline at runtime? _RicO 8 12 07-19-2023, 08:55 AM
Last Post: _Aka_

Forum Jump: