Quantcast
Channel: Questions in topic: "around"
Browsing all 101 articles
Browse latest View live
↧

tank turret rotate without messing up

im trying to make a tank turret rotate, with him i want 2 cameras, and a barrel(a separet object parented to the turret) to rotate, now the problem is when i parrent the objects it will set the center...

View Article


Make an object move toward a point, but stop when it hits another object?

I'm trying to make something that allows you to grab an object and it will gradually slide toward the mouse which I have done using Vector3.Lerp. This part works fine. I want the object to stop moving...

View Article


How To Make An NPC Move When You Look At It

Hello all, I've searched but can't find exactly what I'm looking for, let me be more specific. I have a hospital environment that has several turns/corners the player must walk around. I also have a...

View Article

Make a character rotate around a point.

Hi I want to create a game where the character is placed in one specific point and only can rotate around it and shoot (something like bubble shooter games) I tryed with joints and...

View Article

How do I make the nose/whole of my spaceship move?

Firstly, I don't mean having it move forward. I mean if you go up, the nose of the ship will go up, go left, and the nose of the ship goes left. At the moment, my ship is just stationary on the screen...

View Article


2D game turning

How can I make my character turn around to left and right when I press "a" and "d"

View Article

Instantiate enemies around player

Hey everyone! First post, pretty new to Unity... I've had plenty of experience coding in Flash (AS3) and i know it's pretty similar to Javascript so i'm doin my best to my move skills from one to the...

View Article

Rotate game object around a arbitrary line ( not through origin)

I have a gameobject that needs to rotate around an arbitrary line that does not go through the origin. Any help is greatly appreciated it. Cheers.

View Article


I want to rotate object away or towards camera around x-axis

Hi Unity people and consumers. Currently working on an controller that can grab stuff and manipulate it. I currently have gotten stuck due to a problem with my rotation function. I want it to be able...

View Article


How do i make it so particles go in circle?

For exapmple i want to make a bunch of butterflies circling around the flower, so what must i do? I tried to play with the Velocity over Lifetime but the best i can is to make them go back and forth...

View Article

Placing an object around character in 3d space?

Hi! Im trying to make a shield that can be placed around the player, in the player desired position, in the 3d world, in order to block some shots... I was thinking on making a prefb, and instantiating...

View Article

Rotating camera around object up/down problem

Hey everyone! Ive been into unity3d for a few days now, ive browsed through several Q&A posts and havent found solution to this yet. What im trying to do is make the main camera orbit around player...

View Article

Enemy's gather around the player.. How?!

So I am working on some combat for my game... I have several enemy's wandering in an area. When the player attacks they will come towards the player. I use this code to get a position in front of the...

View Article


Rotate a moving object

I want to rotate a ball in a circle, and then move the ball into random places. So the circle it makes should remain the same size but the ball should still be able to move around. I tried this...

View Article

Mouse control rotate around player

I have a third person camera that smoothly looks at and follows the player. While the player is not in battle, I want the player to be able to hold RMB and rotate around himself so that you can look at...

View Article


How to Rotate Camera around GameObject (Player)

I am in a pickle. Whilest, transform.position = player.position + offsetX; works, or + offsetY; works, the combination of the two do not! Any Suggestions? using UnityEngine; using System.Collections;...

View Article

Glow around camera's alpha channel?

Hi folks, I'm using 2 cameras to render the foreground and background I want to have a glow around whatever is rendered on the foreground (around its alpha pass), any suggestions?

View Article


stop rotate around c#

Hey guys, I got a little problem. I have an enemy gameobject that I want to rotate around a background gameobject on a specific angle I tried this bit of code using UnityEngine; using...

View Article

Looking to move FPS asset player around a sphere

As above i need to mover a around a sphere without falling off i have searched the forums but nothing seem to work for me can anyone help me out?

View Article

HOW TO I LOOK AROUND

I havn't even started making a game yet and I want to look around in unity, but i can only pan and look around a strange axis. in blender you can hold down middle click and look around. How do I do...

View Article
Browsing all 101 articles
Browse latest View live


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