[1.20.1 Forge] Paths are skewed when using cam follow and pressing P to add points in follow breaks.
When using /cam follow entity @e[type=zombie,limit=1,sort=nearest] (my instance), then adding points, two things can happen:
- adding points through cam add (first being 10 4 -10 and second being 15 5 -20)
the scene still works when played also (video of it not sent, no issue)
- adding points through pressing p
This looks normal, but when played
This happens: https://0x0.st/8YaC.mp4
Notes: Cam target is targeting the zombie in the glass box Cam mode outside is on circular interpolation. it seems that the second point factor, or first is multiplied on the X and Z axis, Y is neutral
No idea whats going on here
I noticed that creative core gives the imports for all interpolation functions except circularcaminterpolation.java, its probably some positioning miscalculation. Im new to modding so I might be false
Oh right. Have not thought about using /cam follow for a circular path. Normally it should be /cam target. Not sure if I can make it work. The circular interpolation is quite a tricky one.
Yeah, I'm mainly using the mod with kubejs to create relative cutscenes by triggers around the world, I used to get entity coordinates then position absolute coordinates around it but the follow is much more fluid 😀 . I also struggle to understand the circular interpolation but I can try to diagnose the issue within the next few evenings or just use other interpolation. Also, saw in the server, wish you the best on the marriage, sorry if I seem a bit pushy.
Alright, sorry for responding that late. There are a few issues with circular interpolation in regards to follow.
Normally, the first position marks the radius and position of the circle. It will spin around the look target. If the target moves the radius might get bigger or smaller. The first position does not change only the circle. Then you can define more positions, they will define the height on a certain angle of the circle.
All of this does not work in follow mode anymore. I'm not sure how to solve this. I thought about removing the ciruclar interpolation entirely and rewrite it. Basically define a radius via a command, but I'm not sure how to control the height at a given angle. I could not figure out a good solution in my head. That is why I have no done anything yet.