Quantcast
Channel: Questions in topic: "write-my-code"
Browsing all 92 articles
Browse latest View live
↧

i cant seem to clamp or smooth the rotateTouchPad could someone help me out?

#pragma strict @script RequireComponent( CharacterController ) @script AddComponentMenu("Camera-Control/Smooth Look At") private var character : CharacterController; private var thisTransform :...

View Article


Creating a list of buttons that can be scrolled left and right?

Hi all, I have to create the left and right arrows which can be clicked to scroll through a list of menu options. The list should be clickable buttons. Per button click I want to scroll one item in...

View Article


Smooth Slow Motion

I was wondering how I would make a slow motion C# script,(I'm new to unity lol) That would still be smooth, but still have accurate and smooth physics.

View Article

2d camera scrolling

Hey I'm new to unity and I was wondering how to make the camera move left or right when the player reaches the edge of the camera and stop when it reaches the edge of the game area?

View Article

basic 2D camera setup

Hey I'm new to unity and I was wondering how to make the camera move left or right when the player reaches the edge of the camera and stop when it reaches the edge of the game area?

View Article


Camera speed

here is the cs file. how to make it follow player faster? and can you convert it to java file? using UnityEngine; using System.Collections; public class CameraFollow : MonoBehaviour { public float...

View Article

How do I make my character animations work?

I need a walk sprint and idle animation script all in one when shift + uparrow is pressed he sprints and when shift is released it continues walk animation please help.

View Article

add someThing on sphere surface

I want to add a cub on the sphere surface and random the possition.Like add someThing on the planet.But I don't know how to do.thx.

View Article


Anyone Willing To Script My Model Please?

Hello,Is There Anyone Who Would Be Able To Script My Vehicle Model For Me Please.I Have Tried Over And Over Again And Just Can't Get It Right,It Would be Much Appreciated ;)

View Article


What's wrong with this code and is there an easier way to write it!?

Hi, all I want to do is instantiate a prefab I already have setup at a random spawn point. The spawn points are just Empty Game Objects and there are a few of them setup on my map. I have written this...

View Article

Raycast Shoot Automatic Fire to deal continual damage to AI

Hello everyone. Hope that I can get some help here as sifting through Unity answers I couldn't seem to find an answer. SO, basically, the below script works to damage the AI in my game, but when I hold...

View Article

How do I rotate my Camera around my sphere using the arrow keys?

My code is currently this, also it's not much however please add onto it. public GameObject playerpos; private float distancey = 3.0f; private float distancex = -4.0f; void Update() {...

View Article
Browsing all 92 articles
Browse latest View live


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