#help with viewmodel

11 messages · Page 1 of 1 (latest)

rugged grail
#

I've never done anything with viewmodels, I made an animation that incorporates an item, a pill bottle, and I cant figure out how to get the pills to appear in the viewmodel's hands like in the animation, if anyone can help, that would be great

warm hollow
#

i recommend you use a weld

#

because with a weld you can change the position of where its attached to

#

but with a weldconstraint it just directly sticks the parts together

rugged grail
#

thanks for responding, i just keep the model on the viewmodel and just hide it when the animation isn't playing for the time being

#

ill likely do a system where when the animation is needing to be played it'll copy the pill model from rep storage, add it to the viewmodel, and make it welded to an invisible part in front of the viewmodel, because blender animations require the model to be in the same place as when it was animated

#

ill probably just have to remake the animation later down the line lol

rugged grail
#

yeah, when i try to play the animation when just using a script to add the pill model to the viewmodel it's misaligned so

#

learning experience ig lmao