Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Making long roadmesh runtime
Post: RE: Making long roadmesh runtime
in my case sometimes i want to destroy road before i save it to scene. CreateMesh.Clear() is working fine. no errors
here is the error that popped up sometimes when i deleted the road under Create ... |
|
migeg |
Curvy Splines - support forum
|
19 |
6,596 |
08-17-2020, 11:04 PM |
|
|
Thread: Making long roadmesh runtime
Post: RE: Making long roadmesh runtime
hi again. how do i destroy the road safely? i used to do this by manually destroying child of "Create Mesh" which is named "Create Mesh_5_Mesh000" which is holding the mesh, but i got somekind of pool... |
|
migeg |
Curvy Splines - support forum
|
19 |
6,596 |
08-17-2020, 01:28 AM |
|
|
Thread: Making long roadmesh runtime
Post: RE: Making long roadmesh runtime
thanks. this is new informantion for me. i have many assets in my game. it feels like i should call "Resources.UnloadUnusedAssets()" in save and loadgame.. or anywhere where i can put some kind of loa... |
|
migeg |
Curvy Splines - support forum
|
19 |
6,596 |
08-13-2020, 01:20 PM |
|
|
Thread: Making long roadmesh runtime
Post: RE: Making long roadmesh runtime
thanks. i found one call from curvy: \Assets\Plugins\Curvy\Base\CG Modules\CreateMesh.cs at line 523. i commented that out and lag spike is gone
i hope that modification does not make any problems ... |
|
migeg |
Curvy Splines - support forum
|
19 |
6,596 |
08-12-2020, 01:10 PM |
|
|
Thread: Making long roadmesh runtime
Post: RE: Making long roadmesh runtime
ok. im still not sure whats calling that Resources.UnloadUnusedAssets() |
|
migeg |
Curvy Splines - support forum
|
19 |
6,596 |
08-12-2020, 11:55 AM |
|
|
Thread: Making long roadmesh runtime
Post: RE: Making long roadmesh runtime
hi again. i set my road generator to my game and i am getting pretty huge lag spikes when i finish creating the road (see pic https://i.imgur.com/Kss23Nx.png). previously i had empty scene so i didnt ... |
|
migeg |
Curvy Splines - support forum
|
19 |
6,596 |
08-12-2020, 12:09 AM |
|
|
Thread: Making long roadmesh runtime
Post: RE: Making long roadmesh runtime
thanks!
ps. i gave 5 stars on asset store :) |
|
migeg |
Curvy Splines - support forum
|
19 |
6,596 |
08-03-2020, 01:11 PM |
|
|
Thread: Making long roadmesh runtime
Post: RE: Making long roadmesh runtime
hi road is now working properly. i have another question :D
is there a way to get spline position from world point? for example. i raycast to some point of road and road returns splinecontrollers ... |
|
migeg |
Curvy Splines - support forum
|
19 |
6,596 |
08-02-2020, 07:55 PM |
|
|
Thread: Making long roadmesh runtime
Post: RE: Making long roadmesh runtime
ok. how do i get the spesific node id when i create generator in scene (not with code)? can you perhaps give me an example code on how to get some node from generator with code?
and what is CGMeshReso... |
|
migeg |
Curvy Splines - support forum
|
19 |
6,596 |
07-27-2020, 12:31 AM |
|
|
Thread: Making long roadmesh runtime
Post: RE: Making long roadmesh runtime
update:
now i can access the node by making public InputSplinePath variable and giving it value in that buildGenerator function. now i can make new spline with same generator. but when i create new s... |
|
migeg |
Curvy Splines - support forum
|
19 |
6,596 |
07-25-2020, 02:58 PM |
|
|
Thread: Making long roadmesh runtime
Post: Making long roadmesh runtime
hi. i am able to create roadmesh at runtime with my player controller but this gets pretty heavy for pc because everytime i add a new segment, it updates whole road.
how can i make new segments witho... |
|
migeg |
Curvy Splines - support forum
|
19 |
6,596 |
07-25-2020, 12:33 PM |
|
|
Thread: runtime road creation
Post: runtime road creation
hi! i am absolute noob with this asset and im little bit lost. can anyone give me a hint on how to create roads on runtime. im working on fps game and i want to plant some roads like in this video at ... |
|
migeg |
Curvy Splines - support forum
|
1 |
2,385 |
05-20-2019, 07:55 PM |