Skip to main content

All Questions

Tagged with
0 votes
0 answers
65 views

How to change the locomotive status from moving in a spline to moving in the next spline when it meets the next rail?

I want to make a train that can move in a curve. I have downloaded a Train Spline Walker unity package. That package can generate a spline, and the train's locomotive will move in the spline with a ...
Duy Hạnh Trần's user avatar
0 votes
0 answers
87 views

Convert 3 2D-curves to a 3D-curve and How to calculate weight value of the animation curve in Unity?

I have 3 Hermite curves, including a position at the x, y, and z axes controlled by tangent and weight values. I knew that it is a 2D curve. now I can calculate the tangent from 1st derivative, but ...
Hadestrb's user avatar
0 votes
2 answers
3k views

What is the best way to code grinding for a skate game in Unity?

I am making a inline skate game, what could be the best method to code the grinding system, there are many various and complex stuff to use but what could be used to set it up simple and not that ...
Daniel's user avatar
  • 141
2 votes
1 answer
2k views

Consistent normals at any angle in bezier curve

Could not work out or find any solution for this. I have a spline which consists of bezier curves (in 3d space) — in fact, any straight line will also have such problem. I take a point on the curve ...
Sammy S's user avatar
  • 23
0 votes
1 answer
1k views

Moving object beyond Bezier Curve

I am currently developing small 2D game in Unity, in which player is using swipe to create objects paths. I already did almost everything, but I hit a wall which i cannot pass. The thing is, that when ...
Joey Grast's user avatar
4 votes
1 answer
932 views

Cubic bezier for easing?

I would like to find out what Y is if X is a certain number from a cubic bezier curve to make a custom easing function, like it's done on this site: http://cubic-bezier.com/ Does anyone know a formula ...
user1974555's user avatar
0 votes
0 answers
199 views

Precalculating timespan of bullet collision on cubic bezier curve circles?

I'm fairly new to game logics, C#/XNA (The language/library of choice) and bezier curves in general, and is stuck in my current project. I'm going to try to explain as thoroughly as I can what the ...
user1974555's user avatar
0 votes
1 answer
2k views

Rotating object along bezier curve: not rotating enough?

I tried to follow the instructions from the threads on the forum (Cocos2d rotating sprite while moving with CCBezierBy) with Unity, in order to rotate my object as it moves along a bezier curve. But ...
Paul's user avatar
  • 679