A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
using System.Collections; using System.Collections.Generic; using UnityEngine; public class bringupgamelist : MonoBehaviour { public...
Cool. Thanks man. I'll try raycast and post a script that works. Just let me read into it a little.
attempting to set target to mouse click position and then press ui button to add force to that target position in a pool game. public class aim...
I am trying to set a target position as mouse position with the on mouse button down then hit a cue ball in that direction with a UI button....
In my pool game I am trying to set the target position to mouse position then click ui button to enable bool in my aim script but I must not be...
thanks man, it is doing exactly what I want now. how did you know coroutines were called for? lol . looks like I will have to read into it.
I have a trigger and when the ball enters I am trying to move it from current position to a set target position. public class Trigger2 :...
hello all. I am working on this script for a pool game. I'm trying to set target position to mouse click and then hit ui button to send cue ball...
I'v been going by multiple tutorials and scripts to come up with this: here is what I have so far Code (CSharp): using System.Collections; using...
here is what I have so far using System.Collections; using System.Collections.Generic; using System.Runtime; using...
Thanks for the reply. I was looking up info on raycast and thought I could use it to set target if I addend a 2D box collided to my table. Then...
hello all. I managed to find a script that works for my billiards game to be used to hit the cue ball. using System.Collections; using...
ah geez it took me a whole afternoon of research to come up with the wrong code. I think I have exhausted my resources so I'm turning it over to...
I don't want to jump right into online multiplayer because I understand it's too much for novices but what would be a step down? Offline...
I got this code from a source and it works fine for this pool game. I want the ball to roll in the pocket if its say half over the edge and into a...
Thanks for the reply your advice worked but it didn't move exactly the way I wanted. I did, however, come up with an idea based on your response....
finally fixed it so no errors occur. here is my new script using System.Collections; using System.Collections.Generic; using...
Like the title says. Every tutorial I could find on ui buttons shows how to script the button to change color or text but i want to learn how to...
after reading your advice and some research I came up with this public class aim : MonoBehaviour { public float speed = 20f; private...
can anyone tell me what is wrong with this method public class BallScript : MonoBehaviour { Vector3 targetPos = new Vector3(0f, 0f, 0.7f);...