Quantcast
Channel: Questions in topic: "x-y-z"
Browsing all 16 articles
Browse latest View live

Get Y value of plane at position X,Z

I'm trying to do a jump, and I just need to basically detect when the player is back on the ground, and I've already got it all sorted out, I just need to know if it's possible to get the Y value of a...

View Article



Ball landing point calculation only returns positives?

So I have a landing point calculation for the most part working. However, it's only returning positive numbers...when the ball itself moves both ways, X/-X. The game plays out in X/Y coordinates, with...

View Article

[Javascript] Check X and Z coordinates for an instance of a certain object

Hello, Does anyone know how I could check if an instance of a specific GameObject exists which has certain x and z values? The y value is not important. Kind regards, Max

View Article

Stop the script - problem with myObject's rotation.

Hi, I would like to ask you for help! I need to stop my script when "myObject" rotation reaches 0 in X,Y and Z axis ( or it'll be close to that value, e.g. +-3 degrees ). Console shows me "Cannot...

View Article

How can I elegantly use the XYZ of a Vector4 to set transform.position of a...

I use Vector4s data structures to store all my positional data for my gameObjects, using the W component as a metadata placeholder. Can I easily assign transform.position using the XYZ of a Vec4 while...

View Article


Health Bar Issues

So, i tried to make an health bar and the best method i've found is the one in the script. I'm trying to make a vertical health bar, but it only drecrease is size from the bottom to the top and i would...

View Article

I have a GUI Text that shows the X,Y,Z but im not sure how... I made one but...

GUI Text that says the players X, Y, Z if possible in JS please

View Article

How set position of spawning clones

Please help, how I can set spawning position (now is: 0, 0, 0) for below inscribed code. I walked through the tutorials but without result. Everything what I trying causing crash of structure Xn x Yn....

View Article


Get Y value of plane at position X,Z

I'm trying to do a jump, and I just need to basically detect when the player is back on the ground, and I've already got it all sorted out, I just need to know if it's possible to get the Y value of a...

View Article


Ball landing point calculation only returns positives?

So I have a landing point calculation for the most part working. However, it's only returning positive numbers...when the ball itself moves both ways, X/-X. The game plays out in X/Y coordinates, with...

View Article

[Javascript] Check X and Z coordinates for an instance of a certain object

Hello, Does anyone know how I could check if an instance of a specific GameObject exists which has certain x and z values? The y value is not important. Kind regards, Max

View Article

Stop the script - problem with myObject's rotation.

Hi, I would like to ask you for help! I need to stop my script when "myObject" rotation reaches 0 in X,Y and Z axis ( or it'll be close to that value, e.g. +-3 degrees ). Console shows me "Cannot...

View Article

How can I elegantly use the XYZ of a Vector4 to set transform.position of a...

I use Vector4s data structures to store all my positional data for my gameObjects, using the W component as a metadata placeholder. Can I easily assign transform.position using the XYZ of a Vec4 while...

View Article


Health Bar Issues

So, i tried to make an health bar and the best method i've found is the one in the script. I'm trying to make a vertical health bar, but it only drecrease is size from the bottom to the top and i would...

View Article

I have a GUI Text that shows the X,Y,Z but im not sure how... I made one but...

GUI Text that says the players X, Y, Z if possible in JS please

View Article


How set position of spawning clones

Please help, how I can set spawning position (now is: 0, 0, 0) for below inscribed code. I walked through the tutorials but without result. Everything what I trying causing crash of structure Xn x Yn....

View Article
Browsing all 16 articles
Browse latest View live




Latest Images