Quantcast
Channel: Questions in topic: "follow"
Browsing all 536 articles
Browse latest View live
↧

How can I make the CarController (a gameobject) follow my currentCar

My gameobjekt is called CarController. It spawns the choosen car into the scene (this works perfectly fine). Now I also want to let the CarController follow the currentCar trought the scene because if...

View Article


Make GameObject match the position of mouse cursor?

I am making a top down game where your mouse cursor controls a hand. I need the hand to be at the position of the mouse cursor at all times. There are many tutorials on how to make the object follow...

View Article


Character controller with Rigidbody to apply force

i am scripting a humanoid ploymesh player for soccer and i am getting issues of the player movement. In starting i applied character controller and it worked great but then i have to apply physics like...

View Article

How do I make an object follow another regarding its rotation

I want my object to follow another behind it such that they never face each other.Kind of like the swords from nier automata

View Article

2D Camera Smooth follow, FixedUpdate and LateUpdate odd difference, help needed.

Hello my camera follow script is : using System.Collections; using System.Collections.Generic; using UnityEngine; public class CamSmoothFollow : MonoBehaviour { public float smoothTimeY, smoothTimeX;...

View Article


Rotation on the Z axis not happening

Hi ! My problem is pretty simple, I have a plane, I have a camera, I want my camera's rotation to be the one's of the plane, it is currently tracking fine but it doesn't perform any rotation which is...

View Article

Cinemachine not showing up in toolbar.

I'm trying to follow a *Brackeys* tutorial right now about the camera following the player, but there is a problem coming up for me. Upon downloading the Cinemachine package, there is no "Cinemachine"...

View Article

Trying to make an object follow my cursor

I'm using csharp, and I'm trying to make "StaticObject" follow my cursor. Is there something wrong with my code or do I need to try a new method? public class Cursor : MonoBehaviour { private Vector2...

View Article


Set Position and Rotation with another GameObject as Pivot (Script)

Hi, I have a problem with moving the car with my character inside, i want that the character follow position and rotation of the car (seat), but i can't bind that with my character directly bacause the...

View Article


How to make an object move with same speed?

Hello, I have a complex map with lots of turns. I used the cinemacine to record a movement of an object along the path. The problem is that it's impossible to make the object move at the same speed all...

View Article

How to follow objects in sequential order?

I want the Player follow the Ball and get it. Then with the Ball I want the Player follow the Post. I've done two targets to be followed sequentially but the Player skips the first target and follows...

View Article

What would be a practical way for moving multiple rockets in the described...

![Rocket Behavior][1] [1]: /storage/temp/199900-rocketsmodell.png I am currently developing a 2D endless runner game. One of the obstacles are rockets flying from the right edge of the screen to the...

View Article

Why XR Origin/Player doesn't stick to the Camera when moving Heatset around?

![alt text][1]I've he tried everything for about 7 days now and I'm at the end of my (young) knowledge. All I need, is a to have a functional player movement in a first person VR. So far I can walk...

View Article


How to Move a Cinemachine Camera With Script, FOV and Follow Offset

I need help, I would like to know how do I animate the Cinemachine Virtual Camera in Follow Offset, I would like to change the y values. Well, FieldOfView can do it, because I want to use the FOV to do...

View Article

can I have some help with my "following on the x and z axies" script?

here's the code I'm using: using System.Collections; using System.Collections.Generic; using UnityEngine; public class follow : MonoBehaviour { public Transform follow_target; void Upate() {...

View Article


How can I make a particle system's spawning shape follow the camera, but not...

I am working on a game currently featuring a rain particle system, and some basic ish code that makes It so that when the particles hit the ground a little splash effect plays, and I'm trying to make...

View Article
Browsing all 536 articles
Browse latest View live


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