Quantcast
Channel: Latest Questions by Ranth
Browsing latest articles
Browse All 10 View Live

UnitySteer - How to turn a GameObject into a DetectableObject?

I am using UnitySteer to steer my objects. I have created a script so that right-click selects my player and then I want to left-click on an enemy to have the player avatar attack it. I have included...

View Article


Sorting ArrayList of GameObjects Issue

Hi, I am making an RTS where player can select enemies and then my player's units attacks the enemies closest to them. I have a script that handles putting the enemy GameObjects into an ArrayList, but...

View Article


Checking if first item in array has been destroyed

Hello and thanks for helping. I am making an RTS in which the players units are selected and then I select enemy units for them to destory. The enemy units get placed in an array called...

View Article

Where to find Mouse drag Orbit?

Hi, I am trying to implement a mechanic in which holding down the right mouse button and moving the mouse will rotate the camera around an object. Googling the problem, it seems there are a lot of...

View Article

Adding gameObject to List of different script

I am creating a spaceship fighter RTS. I have two player fighter ships attacking two enemy capital ships. When a capital ship dies, I need it to inform the player's ship of the death so that the...

View Article

Browsing latest articles
Browse All 10 View Live