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
  Incorrect mesh alignment after extrusion on curved path Thinkurvy 10 21 04-17-2024, 10:57 AM
Last Post: _Aka_
  Adjust radius of generated mesh via script? Shackman 1 4 03-26-2024, 01:12 PM
Last Post: _Aka_
  Not seeing mesh extended after following YT PaulM 1 3 02-02-2024, 12:01 PM
Last Post: _Aka_
  Trigger Zones along Spline Mesh dlees9191 1 5 01-05-2024, 10:18 AM
Last Post: _Aka_

Forum Jump: