#i did and it shoots okay when i shoot
1 messages · Page 1 of 1 (latest)
Do you mirror the gun when you look to the left?
Look left, then go to the Scene View and click on the fire point object
yea
in case moving the mouse to click on the "Scene" tab messes it up
is this while you're looking left? looks like the gun's on your right side to me
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
oh sorry i didnt see u said i should look left
yea thats the problem
yes u see here
Oh, you're flipping it vertically
Flip it horizontally. You might need to change how you rotate the gun to compensate for that
oof how
Although, to be sure, can you show me what the scene view looks like if you have the "Aim" object selected?
ah, Aim is centered on the player, okay
So what happens if you don't set the scale at all?
does the gun wind up being upside-down, but still pointing the right way?
yea
Okay. I see what's going on.
So you make the Aim object's X scale negative,
I would expect that to flip the gun onto the other side entirely.
yes
can you show me what it looks like when aiming to the left? I'm a little surprised this works
I would think this would put the gun on the wrong side entirely when aiming left
wait what u want me to do
Make it so that the scale is always 0.35, 0.35
Show me what it looks like when you aim left.
Oh! I misread it. I thought you were setting the X scale to be negative
okay that makes way more sense
lol
still, show me what it looks like when you don't make the Y scale negative
aim up and left
this is up with this code
I need to see it without the Y scale being set to be negative.
Make it always be 0.35
I want to see how it behaves when you're aiming up and to the left. 45 degree angle or something.
okay i changed y to positive and now it works
like shooting and everything workds
thanks
ah, good. I was having trouble imagining how it was changing the gun's position and rotation
If you want to flip the gun, I would make a new "gun" object that you parent those four objects to
and then flip that instead
instead of flipping the Aim object
okay thanks