Quantcast
Channel: Questions in topic: "curved path"
Browsing all 116 articles
Browse latest View live
↧

how to follow curved path?

If I want an object to travel from point A to point B, but also want the object to start from facing its own forward direction to facing aligned with a direction B.forward, then what is the best way to...

View Article


Camera always 90 degrees to player (curved path)

Hello togehter, a friend and me have some issues with our camera movement. We have a curved path and our player moves along it. We want that our camera always looks at our player in a 90 degree angle....

View Article


Pen tool in Unity to create 2D ground like bad piggies

Is there any 2D tool in Unity like PEN TOOL in Illustrator to create curved ground. I need it because i want to experiment with physics. I will release wheel and i want to play with curves to get that...

View Article

Is There A Horizontal AND Vertical Head Bobbing Script?

I've Seen Many Instances Of A Vertical Head Bobbing Sript, But Not ONE That Has Vartical AND Horizontal Head Bobbing (Preferebly Left To Right And Vice Versa With a Vertical Curve Making It Go Up And...

View Article

Physics2D and curved movement

Say we want to move a unit from one place to other. If it turns its front first then we can use addforce to move it there then set velocity to zero. What if we want it to start moving and at the same...

View Article


Calculating center line of curved pipe

I want to have have a disk move vertically through a curved pipe. The pipe's shape and size will stay the same, but the position and rotation in a 3d space will be random. Is it possible to calculate...

View Article

Character moves along pre-defined path / curve

I'm making a yet-another-endless-run game. I know how to make my character ( which is now a cube with Rigid Body component attached ) moves along axis and changes its moving direction by Arrow keys....

View Article

Access curves presets from c#

Hi all, I was wondering if it was possible to have access from code to the default curve presets you can see when opening the curve editor. Thank you

View Article


How to create a Path

Hey guys I need some Help here. How to create a path for example to make a path in form of an 8 and when I am moving my character it will go only on this path. I don't want it to move automatic or to...

View Article


Interpolating along an arc.

I am trying to move an object between two points along an arc with respect to another point. I have a starting point A, an end point B and third point C. I want to make my object move from A to B along...

View Article

Unity2D - Add Curve on Local Position

Good early morning to all dev's out there, I seem to have an issue when it comes to the position curve in the unity2D animation. I wish to effect the position of an object, however whenever I do so. It...

View Article

How can I fit an imported mesh to a spline curve?

Let's say I have a bezier spline that I want to use to create some kind of road, path, fence, etc., but I don't want to program in all the geometry creation by myself. If I have a rectangular mesh of a...

View Article

Tell if a player is on a path

So I have a level with a path made out, but I don't know how to tell if the player is on the path. I could use a collider as a trigger on a player, but I'm not too experienced with triggers, and I...

View Article


Move object on curve with same angle

I am trying to move my object on curve path that is simple animation not any physics implementation. I have already working of object on curve based path but can't able to find same movement angle. For...

View Article

Move player forward On a curve

I want to move player on curved wires attached with the poles. The same look as in the game http://www.miniclip.com/games/bug-on-a-wire/en/. I have images for poles and wires and I tried to move camera...

View Article


Move along a run-time generated path of varying length at a set speed.

I need to figure out how to move an object along a path a set distance or speed. For example, assume I have a curved path with a cube following that path. I want it to move 10 units along that path, or...

View Article

Custom shader Curved Diffuse lighting not working

Hi guys, I'm getting mad with this. I'm using Unity 5 and I'm tring to resolve this problem from yesterday searching on Unity Answer or similar. Everything that I'm trying is not working and I don't...

View Article


How to generate a curve from a model ?

I have a road model which is a long looped curve made in Blender then exported to FBX. To make this model, I have created a path and then repeated a portion of road all over it. Now for my game, I need...

View Article

I want my character to jump in a sort of arch path. is there a nice snippet...

I suck at coding and I'm trying to familiarize myself with the API. Personally, I would prefer that someone just show me the class(es) that allows me to do just this (in the API).A sort of, teach a man...

View Article

Make a dynamic visual link between two game objects

I have two ships and a planet in between. I want to make a visual link between the ships but in a way that the link will arc around the planet, but not trough it. I also want this to be dynamic, for...

View Article
Browsing all 116 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>