#why are they moving this way?

1 messages · Page 1 of 1 (latest)

jade holly
#

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)

#

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??)

worldly tundra
#

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

jade holly
#

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

idle bluff
#

What exactly is the main issue here?

jade holly
idle bluff
#

also whats ur rigibody constraints

jade holly
#

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

idle bluff
#

you need to specify the world up axis

jade holly