Quantcast
Channel: Latest Questions by Vectorizing
Browsing all 19 articles
Browse latest View live

How to rotate an object on the z-axis using localeulerangles?

Okay so im trying to make my character rotate left and right through the Z-Axis. Here is the script I have written and what it does: (C#) public int LeanAnglePositive = 30; public int LeanAngleNegitive...

View Article



Shoot off multiple raycasts from 1 object?

So I have a gameobject that I want to shoot off multiple raycasts, lets say 50 raycasts in 50 random directions.![alt text][1] [1]: /storage/temp/13831-untitled.jpg Then IF it hits a collider with a...

View Article

PlayerPrefs.GetInt Error MissingMethodException

I have been messing with this for way to long, I'm not sure what the deal is maybe someone can help. Here is my script: var CurrentXP : int; var SaveCurrentXP : int; function Start () { CurrentXP =...

View Article

Walk Through Certain Colliders?

Okay so I have done some research and cannot find anything on this topic. So here is my question. I want my player to be able to walk through certain colliders. For example when my player kills an...

View Article

Show which direction the Rigidbody is accelerating in?

Hello. I have a rigidbody that I can AddForce to and change its speed, etc. I have not been able to figure out how you can make a little line or arrow that shows what direction you are travelling in....

View Article


Projected Orbital Path of 1 Object Orbiting Another.(Physics)

Okay so this question is driving me insane. I cannot for the life of me, figure out how to predict an orbit. Here is my situation. I have 2 objects. Very simple. 1 Object is the player, and the other...

View Article

How can I find the angle of the direction the velocity is pointing?

Hello, I have a rigidbody that I can move by adding a force. My question is how can i dtermine the angle at which the object is moving? Here is a picture I have made to demonstrate this: ![alt text][1]...

View Article

How can I add more PhotonView ID's?

Hello, Currently the max ViewID's for the PhotonView Component is 1000, how can I raise this? I read something about changing the MAX_VIEW_IDS but I am not sure how to. Thanks

View Article


How can I find the Velocity Angle?

Okay so I Have an object that is a rocket. I give this rocket velocity by using: rigidbody2D.AddForce(rigidbody2D.transform.up * Speed); My question is how can I find the angle of the velocity that the...

View Article


How to rotate an object on the z-axis using localeulerangles?

Okay so im trying to make my character rotate left and right through the Z-Axis. Here is the script I have written and what it does: (C#) public int LeanAnglePositive = 30; public int LeanAngleNegitive...

View Article

Shoot off multiple raycasts from 1 object?

So I have a gameobject that I want to shoot off multiple raycasts, lets say 50 raycasts in 50 random directions.![alt text][1] [1]: /storage/temp/13831-untitled.jpg Then IF it hits a collider with a...

View Article

PlayerPrefs.GetInt Error MissingMethodException

I have been messing with this for way to long, I'm not sure what the deal is maybe someone can help. Here is my script: var CurrentXP : int; var SaveCurrentXP : int; function Start () { CurrentXP =...

View Article

Walk Through Certain Colliders?

Okay so I have done some research and cannot find anything on this topic. So here is my question. I want my player to be able to walk through certain colliders. For example when my player kills an...

View Article


Show which direction the Rigidbody is accelerating in?

Hello. I have a rigidbody that I can AddForce to and change its speed, etc. I have not been able to figure out how you can make a little line or arrow that shows what direction you are travelling in....

View Article

Projected Orbital Path of 1 Object Orbiting Another.(Physics)

Okay so this question is driving me insane. I cannot for the life of me, figure out how to predict an orbit. Here is my situation. I have 2 objects. Very simple. 1 Object is the player, and the other...

View Article


How can I find the angle of the direction the velocity is pointing?

Hello, I have a rigidbody that I can move by adding a force. My question is how can i dtermine the angle at which the object is moving? Here is a picture I have made to demonstrate this: ![alt text][1]...

View Article

How can I add more PhotonView ID's?

Hello, Currently the max ViewID's for the PhotonView Component is 1000, how can I raise this? I read something about changing the MAX_VIEW_IDS but I am not sure how to. Thanks

View Article


How can I find the Velocity Angle?

Okay so I Have an object that is a rocket. I give this rocket velocity by using: rigidbody2D.AddForce(rigidbody2D.transform.up * Speed); My question is how can I find the angle of the velocity that the...

View Article

Planar UV Mapping/Projectors

Hello Everyone, I have a question about projecting a texture onto an object. The built-in projectors will not do what I need it to do. Here is what I'm trying to achieve: ![alt text][1] I want to...

View Article
Browsing all 19 articles
Browse latest View live


Latest Images