#Donk Inverted Camera issue.
1 messages · Page 1 of 1 (latest)
Ok, More likely you need to invert your input value.
When you say that you are "Floating" and keep going, are you implying that no gravity is acting on your game object?
i would assume so yes
Please refrain from using Transform.translate.
because when i go off a slope it just keeps going and doesn't follow the path down
Either use charactercontroller or use rigidbody to get that physics requirement you wanted.
What's happening in your scene? Any picture? Any code that you can share?
it just rolls on the floor and when i move again that's when it floats back into the air and goes
What did you add to your gameobject? Rigidbody I assume?
yup
Lock rotation constraint.
how?
Select your player, look at the rigidbody component, and there should be a constraint in the inspector. Looks like this
ok i just fall through the ground
Does your character have a collider?
i have this cube on it to signify which direction im going i also added it to that aswell
No 🤦♂️
Is it parented to the game object?
which one would it be?
a capsule collider?
😐
Why is that?
i prefer a human being to help me
it just falls appart and goes underground lmao
I simply cannot help everyone here guide through using unity. I can only help so much that I need my own time to work on my project.
Does the terrain have a collider?
there's alot of terrain how do i give them all a collider at once? or can't you
There's a reason why tutorial exist. If you can't understand the tutorial, then I would suggest looking into a different tutorial, or simply repeat the tutorial until it "clicks".
select them all, add component, add terrain collider.
Normally, you should only have at least one terrain in your scene. Why do you need so many terrains?
they already have it
Who's they? Are you not working on this game project yourself?
when i go to move my character it just implodes
no the terrain
i said they because there's multiple terrain
I'm making a big map
If you needed to make a game that big, I would suggest stop first, and work on your mechanics before you dive into this massive project you are going to have to work with.
That's why im doing the player first
before adding other stuff
anyway my character just implodes
Picture? Anything to give me visual representation?
It's hard to imagine "EXPLOSION" and "Implosion" with your words.
I'll try and rec
@indigo river Srry for the ping but here's my issue https://linx.breizh.pm/c44up7qm.mp4
I'm having problem playing your video. It's not playing anything at all?
what
Trim the video to only show me how it implode instead, and upload through here. It should be less than 5 mb in file size.
here we go
Looks like you have your player movement script on all of your game object. you should only have one player mover script on your root gameobject instead.
The other gameobject are meant for visual only.
In this case, can you make sure that Third person movement script is only on "Third Person Player" game object, and not on GFX nor cube.
so which ones does it need to and not need to be on? Third person player, GFX and Cube?
what's game object thou
All of the item you see in the hierarchy are gameobjects.
ahh. so the only one it should be on is Third Person Player got it
mk well that had no effect .-.
IT also looks like it implodes because other gameobject (GFX and cube) have collider and rigidbody on them They do not need those two components. Only the root gameobject needs it... Do you know the reason for this?
nope
ok so i've removed them and now it just rolls... but when i press w it get's moved into the air ready to move....
So the reason you'd have a empty gameobject that house all of your physics, input, and other behaviour instead of your Cube gameobject, is because you can continue to use that same game object, but swap out other visual effects for your Cube. This makes it easy to adjust and expand your game out.
Did you forget to add the constraints?
i think so
ok now it just slides along the floor when i let go and when i move it it floats in the air
alr so how do i properly remove it from the script