Hello there,
I've just started using playMaker and I have to say it's pretty amazing!
I'm having a little bit of trouble aligning moving objects, however. I'm making a kind of endless runner/rhythm action game where prefab sections of the game environment are being spawned (or moved, I've tried both) in front of the player. The player stays still while the prefab sections move, kind of like a conveyer belt.
The problem is when I spawn or move the prefab sections they have a tendency to be just slightly behind the desired location, maybe 1 to 2 units out. I wouldn't normally consider this an issue, I'd just bump the spawn point forwards a few units to compensate. However because this is a rhythm action game the prefabs need to come in at exactly the right place or the audio will be off.
I've investigated a number of different approaches with no luck.
The issue lies in the prefab section moving as the next one is spawned. In the moment it takes for the CPU to figure out the place it should spawn and it actually spawning a slight misalignment is created. It's compounded by framerate and the speed at which the prefabs move (less frames, or quicker movement = bigger gaps).
Does anyone have a technique for solving a problem like this in playMaker/unity?