Hello!
I am trying to use raycasts that shoot out from the lookvector of the UpperTorso, but every time when I walk the body tilts itself because of the animation, which makes the ray not shoot out the way I want. (R15 Characters)
I have tried searching for a post on here (The dev forum) but sadly found nothing…
1 Like
Could you give me an example of some of your code that is responsible for the guidance of the projectile (being the bullet for example)?
I might be able to spot any issues there.
The code doesn’t have any problems, my problem is the animation of the r15 characters. Like when an R15 Character walks their body tilts itself and when I use CFrame.lookvector on the, for example, the UpperTorso it shoots, literally where the UpperTorso looks, so in short it fires it in a, for example, a 25 Y Angle. So my question is: "Is there something I can add to it so it doesn’t exactly shoot where the UpperTorso looks but where the Character itself does? (Basically, it should only shoot out in the X/Z-axes, without any Y rotations)
Sorry for my bad explanation…
1 Like
Have you tried it with an R6 rig in a Play test server within Studio?
A lot of old animations aren’t even compatible with R15, nevermind Rthro, so it could be that you need to either force R6 (if it works fine in your test), or convert it to be compatible if that doesn’t work out any better, in that case, let me know, and I’ll see if I can be of more help.
It does work with R6, since the Body doesnt tilt itself, but I want the game to be in R15. Also, I am talking about the “Standard” Walking animations that were already provided by roblox.
From what I hear, you are just using the default provided animations, right?
This could mean if you got them from an older source, or if your game wasn’t in forced R15 ever in it’s update logs, it could have added R6 animations instead of R6.
Then again, I think you can put animations into StarterPlayer somewhere, but to override both R6 and R15 to a supported animation, you’d need both an R6 and R15 animation, then a script for both, or one that detects one or the other, etc, which applies a fully compatible animation to R15.