I can't figure out why the enemies are moving so strangely. they even start out in weird positions after i press play. two targets are visible for the purposes of showing whats going on (each is using targets to walk back and forth, they do not have colliders)
#why are they moving this way?
1 messages · Page 1 of 1 (latest)
goign to send a video forgot to attach, trying to find it
(I clicked freeze position on y just recently bc they were also slightly leaving the ground??)
Transform lookat nodes have a world up input, you should have it set as (0,1,0) instead of (0,0,0)
That should fix the weird rotations, i have no idea whyd they start at random positions tho, maybe they collide with something at start?
I think freeze position and rotation of the rigidbody component is in world space, not local, so have that in mind, it can make things not work how you want
Also i recommend using a state machine, it looks like the kind of stuff state machines are for, but ive never used them so i dont know lol
ill try these things tysm this glitch is driving me crazy lol
osmehow switching transform get position made them go underground 💀
idk what im doin 😭 struggling
or this
man this is a struggle the amount of hours ive spent trying to resolve this to no avail
Huh ??
What exactly is the main issue here?
The strange movement, see video
They walk normally in one direction then it goes crazy
can i see the movement code?
also whats ur rigibody constraints
I use visual scripting so I don’t know how to access the code, I can look if you tell me where to grab it from, but I sent the visual scripts above
Rigid body is also in the pics above
It might be your look at
you need to specify the world up axis
i am indescribably thankful. it was this, this has been driving me crazy for hours. It works now! THANK U SO MUCH