Unity is a highly cross-platform engine that focuses on easy art pipeline process and uses Mono as its scripting back end.
0
votes
0answers
14 views
Create torch flame from particles unity 4
I am using unity4 and the Shuriken particle system to try and create a flaming torch. I have tried the prebuilt flame prefab that comes with the package but cannot seem to find a way to adjust the y ...
1
vote
0answers
19 views
Unity3D modified water.cs reflection camera not rendering deferred lights
I've been using the script below to render a portal effect, all it is is a modified version of Unity's water.cs script.
Now this script works in forward rendering, but for some reason when I turn the ...
2
votes
1answer
51 views
Unity3D How too write to the back buffer AFTER the final pass of deferred rendering
I've been using this script and shader from the wiki, and they work wonders; my only problem is using them in deferred rendering.
Now, the way this shader works is by writing to the depth buffer to ...
3
votes
2answers
46 views
Playing different particle effects in Unity on the same ParticleSystem
The question really sums it up: What is the best way to use one particle system for playing different particle effects?
The scenario: GameObject is picked up and it starts playing a simple indicator ...
0
votes
1answer
42 views
Issues with Sine Wave Generation and Rotation
I'm working on generating objects in sine wave that lets you specify parameters that are start x, end x, start y, and end y position.
Below is the method that I used to generate the debris
void ...
5
votes
1answer
60 views
Mip Maps on 2D Sprite causing black line above. Why is this?
I am new to Unity. I'm trying it out and using Futile for a code-first approach, but still importing textures using the Unity system.
The problem I'm having is that when I use mip maps to scale large ...
4
votes
0answers
54 views
UDK or Unity Dynamic Runtime Mesh Boolean subtraction (or alternative)
I'm new to 3D game dev and was wondering if anyone could help me out.
I'm planning to use UDK and would like to have deformable items in the world.
So a projectile strikes a target, and a dent or ...
0
votes
3answers
80 views
Keeping raycast on the same level
I want my raycast to end at certain height(red line). But as the game is 3D and the camera rotates I can't use a fixed magnitude. What I thought was a stroke of genius, I figured I'd project the ...
2
votes
1answer
83 views
Rotation independent rotation
I came up with some cube rotating, but I could not make it smooth and easy to use because as the cube turned - the keys that handle the turning changed their purpose. Link to demo. The demo rotation ...
1
vote
1answer
62 views
Weapon as camera's child, rotation messed up
I put my weapon as a camera child, it works, but when i rotate my player it seems the weapon rotate a little too.
I'll attach some images so you can see it.
As you can see, when i look up i ...
1
vote
0answers
35 views
Translating an object with a joypad
I'm trying to move a 3D plane with my mouse joysticks. At the moment my code, inside the Update method, is as follows:
xMin1 += Input.GetAxisRaw("LeftRight");
yMin1 += Input.GetAxisRaw("UpDown");
...
2
votes
1answer
104 views
Inventory View Screen
Looking to create an inventory screen in Unity, and trying to think of the best way to do it.
My current line of thinking is having a few rows of squares for inventory items that are drag and ...
-2
votes
1answer
58 views
I whant the ball to change angle when it hits the bumper in blockbreaker [closed]
I am making a simple blockbreaker game and i what to make the ball change angle when he hits the pad. i am using3d unity and coding in JavaScript.
function Update () {
if(manager.isOn == true){
...
0
votes
1answer
36 views
Attach Transform to another GameObject
The scenario I am trying to accomplish is attaching a turret to a mount point on a ship. I have gotten as far as bringing in the prefab and assigning it as a child object with the following code:
...
-4
votes
1answer
52 views
Adavanced AI with waypoint system [closed]
I'm just asking for an AI script. What I pretty much need it to do is to allow the enemy to patrol an area, and once the player hits its aggro bar, it will chase him/her until the player runs away; ...