eren wrote:When I created the prefab, I get "UFE3D.GlobalInfo must be instantiated using the ScriptableObject.CreateInstance method instead of the new GlobalInfo." warning on the console.
Don't worry, that is normal. Its just a warning message.
I just ran some tests, and there seems to be indeed an issue with 3D gameplay combined with disabled animation maps.
Unfortunately to fix it you will need the source version. Under ControlsScript.cs, look for this code segment:
hurtBox.position = myHitBoxesScript.GetPosition(hurtBox.bodyPart, true);
hurtBox.position += hurtBox._offSet;
hurtBox.position = (FPQuaternion.Euler(0, transform.rotation.eulerAngles.y - 90, 0) * hurtBox.position) + worldTransform.position;
And change it to this:
hurtBox.position = myHitBoxesScript.GetPosition(hurtBox.bodyPart);
//hurtBox.position += hurtBox._offSet;
//hurtBox.position = (FPQuaternion.Euler(0, transform.rotation.eulerAngles.y - 90, 0) * hurtBox.position) + worldTransform.position;
I'll take a note of this and release a fix on the next UFE 2 patch.
Alternatively, the solution would be to create animation maps for your character. Based on your report I'm not sure why it wasn't working for you, but you can try re-recording Robot Kyle's move set and see if there is anything you could've missed.
Like UFE? Please rate and review us on the
Asset Store!
Questions about the Forum? Check out our
Karma FAQ.
Don't forget to check our
discord channel.