#Best way to move AI without humanoids

41 messages · Page 1 of 1 (latest)

restive portal
#

honestly i always wanted to know that too

#

i had a rock character that would move

#

but tweening has no physics

#

and i have no idea on how to use the new forces roblox added

#

i miss body forces

honest raven
#

works better than tweening and has physics

#

and you can move it in multiple ways at a time

#

whilst with tweening the cframe multiple times at the same times fucks everything up

olive wing
# honest raven same i dont get why they removed them

you cant make them through the insert object menu, but if you want to use them even though they are deprecated you can create them using Instance.new()

local test = Instance.new("BodyForce") test.Parent = workspace.CurrentCamera
honest raven
olive wing
honest raven
olive wing
#

Haven’t tried, personally I use humanoids and humanoid:moveto()

honest raven
#

?

olive wing
#

I mean it just needs a humanoidrootpart, be un-anchored and to be rigged so yea it’s easy

little grove
#

:move() on .character and make your own tweener

honest raven
#

its not a character model its a submarine

#

so that might be a pain to try to rig

#

or you could use magnitude

little grove
#

:move() works on all models???

honest raven
#

hmmm

#

ill try it

little grove
#

It might be :moveto()

honest raven
#

models you can use setprimaryparttocframe()

#

but you cant tween it

little grove
#

You don't need to tween it

#

If tweening ain't working don't tween

honest raven
#

kk

#

i orginally just made a for loop and looped through the models children and if it was a part then i tweened it

#

not the best way

little grove
#

Yeah not really

#

You can probably adapt from that same thing, just calculate where everything is relative to an object by comparing a root parts position to everything else

#

Then change the parts position and use the calculations

honest raven
#

ima try the humanoid way first

dusk crest
#

why not use setprimaryparttocframe() and use a lerped cframe, it gives smooth results. Humanoids are not the best if u are gonna use a lot of em.

frail acorn
#

^

dusky wedge
#

It’s been awhile since i made it but when I made this dark souls boss, I created a custom humanoid to avoid weird physics. Definitely not the best custom humanoid but it got the job done!

olive wing
honest raven