Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: General questions about this asset for a sim game
Post: RE: General questions about this asset for a sim g...
_Aka_ Wrote: (07-26-2020, 05:47 PM)
--
_Aka_ Wrote: (07-09-2020, 12:21 PM)
--
I am working on some enhancements on that module. If you buy the asset and start using the Conform Path module before th... |
|
jamesunity |
Curvy Splines
|
6 |
3,022 |
08-01-2020, 04:00 PM |
|
|
Thread: Strange differences between editor and build
Post: Strange differences between editor and build
Hi again, I'm having some odd differences between my game in editor and when I build it (Standalone pc x86 windows build)
In the editor things run as I expect and would like, but in the build they ... |
|
jamesunity |
Curvy Splines
|
1 |
1,079 |
07-19-2020, 09:49 PM |
|
|
Thread: Spline always going up into the air?
Post: RE: Spline always going up into the air?
_Aka_ Wrote: (07-19-2020, 01:18 PM)
--
isn't it because your extruded shape is a bit too high?
--
I'm not entirely sure, it still seems it might be reacting to other colliders (possibly), is there ... |
|
jamesunity |
Curvy Splines
|
6 |
2,741 |
07-19-2020, 09:36 PM |
|
|
Thread: Spline always going up into the air?
Post: RE: Spline always going up into the air?
I have to say it's still going up by the smallest amount, its barely noticeable but it's lifting slightly off the flat ground, I'm not using the conform path module in the generator (the path is flat ... |
|
jamesunity |
Curvy Splines
|
6 |
2,741 |
07-18-2020, 08:03 PM |
|
|
Thread: Spline always going up into the air?
Post: RE: Spline always going up into the air?
Can you tell it's been a long day :D :D :D I feel like such an idiot... thank you though! |
|
jamesunity |
Curvy Splines
|
6 |
2,741 |
07-18-2020, 12:13 AM |
|
|
Thread: Spline always going up into the air?
Post: Spline always going up into the air?
Hi,
I'm making good progress in general, but one thing I'm finding a lot is the track always starts to go up and then remains raised off the ground. I have made sure the terrain is totally flat (e... |
|
jamesunity |
Curvy Splines
|
6 |
2,741 |
07-17-2020, 10:22 PM |
|
|
Thread: Creating splines at run time
Post: RE: Creating splines at run time
_Aka_ Wrote: (07-16-2020, 08:02 PM)
--
This can be helpful
https://curvyeditor.com/documentation/performancetips
And as always, the profiler is your friend.
Also, you can define in the generator's... |
|
jamesunity |
Curvy Splines
|
6 |
3,003 |
07-17-2020, 10:17 PM |
|
|
Thread: Creating splines at run time
Post: RE: Creating splines at run time
Hi and thanks so much again that's a great idea and it's working, only issue is frame rates are dropping to 10fps from 400+, is this likely because it's applying the full generated mesh to it? I tried... |
|
jamesunity |
Curvy Splines
|
6 |
3,003 |
07-16-2020, 07:40 PM |
|
|
Thread: Creating splines at run time
Post: RE: Creating splines at run time
Thanks so much, this is brilliant and working, one question though, is there a way I could show the spline without adding a control point so the player can see what the spline will look like before th... |
|
jamesunity |
Curvy Splines
|
6 |
3,003 |
07-16-2020, 06:12 PM |
|
|
Thread: Creating splines at run time
Post: Creating splines at run time
Hi,
I'd like players to be able to place stations and then as a simple step at this early stage, have a spline automatically drawn between the stations at run time.
Should this be fairly easy to... |
|
jamesunity |
Curvy Splines
|
6 |
3,003 |
07-16-2020, 08:35 AM |
|
|
Thread: Get nearest point to a world object
Post: RE: Get nearest point to a world object
_Aka_ Wrote: (07-14-2020, 08:22 PM)
--
I first understood that you will have a web of roads, but now I realize you are going to have a "tree" of roads (only 2 roads connections and no looping). True,... |
|
jamesunity |
Curvy Splines
|
6 |
3,209 |
07-16-2020, 08:27 AM |
|
|
Thread: Get nearest point to a world object
Post: RE: Get nearest point to a world object
_Aka_ Wrote: (07-14-2020, 01:18 PM)
--
Hi,
I see your problem as being two separate problems:
1- find the way between points A and B
2- make the train follow that way
Point 2 is related to Curv... |
|
jamesunity |
Curvy Splines
|
6 |
3,209 |
07-14-2020, 05:00 PM |
|
|
Thread: Get nearest point to a world object
Post: RE: Get nearest point to a world object
OK I have pretty much got there I think, I'll put the code below roughly in case it helps anyone in the future. I have given the stations a Spline ref so they "know" what spline they are on, and then ... |
|
jamesunity |
Curvy Splines
|
6 |
3,209 |
07-14-2020, 12:25 AM |
|
|
Thread: Get nearest point to a world object
Post: Get nearest point to a world object
Hi, I would like to place stations along a track and then if a train is scheduled to stop at the station next, find the nearest control point to that station, and then eventually set connections prope... |
|
jamesunity |
Curvy Splines
|
6 |
3,209 |
07-13-2020, 11:35 PM |
|
|
Thread: Error: Calling TeleportBy on a controller that is stopped
Post: RE: Error: Calling TeleportBy on a controller that...
_Aka_ Wrote: (07-11-2020, 08:54 PM)
--
I replaced the implementation of LateUpdate with this to avoid the issue:
Code:
--
void LateUpdate()
{
if (!mTrain)
ret... |
|
jamesunity |
Curvy Splines
|
5 |
2,673 |
07-13-2020, 12:28 PM |
|
|
Thread: How to ping-pong a train?
Post: RE: How to ping-pong a train?
_Aka_ Wrote: (07-11-2020, 03:05 PM)
--
Hi
1- Once the locomotive reached the end, modify the Position and/or MovementDirection and/or other properties of the other controllers to have them do what t... |
|
jamesunity |
Curvy Splines
|
5 |
2,665 |
07-13-2020, 11:14 AM |
|
|
Thread: Error: Calling TeleportBy on a controller that is stopped
Post: RE: Error: Calling TeleportBy on a controller that...
_Aka_ Wrote: (07-11-2020, 01:08 PM)
--
Hi,
Can you please send me a reproduction case?
Thanks
--
Hi, if you load the train-12 example scene, on the train object -> trainmanager script... the issu... |
|
jamesunity |
Curvy Splines
|
5 |
2,673 |
07-11-2020, 05:09 PM |
|
|
Thread: Error: Calling TeleportBy on a controller that is stopped
Post: Error: Calling TeleportBy on a controller that is ...
Hi,
I notice whenever I open my project, or after pressing stop if it's running, I get lots of this error. It runs fine so I am not sure if it's a big deal but it's a bit annoying seeing it fill th... |
|
jamesunity |
Curvy Splines
|
5 |
2,673 |
07-11-2020, 09:05 AM |
|
|
Thread: How to ping-pong a train?
Post: RE: How to ping-pong a train?
_Aka_ Wrote: (07-10-2020, 11:34 AM)
--
Try having an OnEndReached event listener for the locomotive where you setup all the other carriages accordingly.
--
Thanks I will try this, how can this be se... |
|
jamesunity |
Curvy Splines
|
5 |
2,665 |
07-10-2020, 11:49 AM |
|
|
Thread: How to ping-pong a train?
Post: How to ping-pong a train?
Hi I downloaded the asset last night and really love it. I am working on the 12-train demo scene and have made a new track and train which is great!
I want the train to ping-pong at the end of the ... |
|
jamesunity |
Curvy Splines
|
5 |
2,665 |
07-10-2020, 11:19 AM |