Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rolling sphere over generated mesh
#11
Splitting execution over several frames is a good idea, I'll see how this feature can be added for 2.0.4. But in my experience the "big chunks" are operations I can't slow down or split, e.g. setting mesh collider or calculating caps triangulation.

Did you checked what module is taking the frametime? Enable CG debug output in the graph's toolbar and doublecheck and/or play with the settings and try to find the time consuming ones. Some ideas:

- try disabling mesh colliders
- disable Optimize for shape and path
- play with "Make Static" enabled/disabled

Also, there's nothing wrong with having a set of CG's, each handling a small portion of your track.

Oh, one idea comes to my mind: If I remember right it may be the case that adding CP's will trigger a spline refresh, thus triggering a Path refresh of all CG's using the spline. I'll have a look and will prevent that behaviour if the path range is clamped and the changes are outside that range. But that may result in some serious coding. As a workaround, disable AutoRefresh on the CG components that are not changed.

Don't worry, we'll get this running in a speedy way. I've definitely planned to do an example scene handling your scenario, will need that to run some tests anyways.
Reply


Messages In This Thread
Rolling sphere over generated mesh - by ioanma - 11-12-2015, 10:24 PM
RE: Rolling sphere over generated mesh - by Jake - 11-13-2015, 07:57 AM
RE: Rolling sphere over generated mesh - by Jake - 11-15-2015, 06:56 PM
RE: Rolling sphere over generated mesh - by Jake - 11-15-2015, 09:22 PM
RE: Rolling sphere over generated mesh - by Jake - 11-16-2015, 07:07 PM
RE: Rolling sphere over generated mesh - by Jake - 11-17-2015, 07:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a way to generate UVs along deformed and copied mesh? kubak 1 305 03-18-2026, 08:34 PM
Last Post: _Aka_
  Replace deform mesh on volume spots Kokoriko49 1 2,317 06-09-2025, 06:49 PM
Last Post: _Aka_
  Mesh Generation between two splines vatan 4 3,614 02-14-2025, 07:11 AM
Last Post: vatan
  Create Mesh Node, Make Static Options rickgplus 1 1,828 01-23-2025, 10:12 AM
Last Post: _Aka_

Forum Jump: