This
This assignment expects a value of type (/Verse.org/SpatialMath:)transform, but the assigned value is an incompatible value of type (/UnrealEngine.com/Temporary/SpatialMath:)transform. This is the error I keep getting over and over, and I have no clue on how to fix it. I’ve been going about it for weeks. I know I need to use one of the conversion functions from XYZ to LUF, but I don’t know how with this Prop’s function being called. Please help, it would be massively appreicated. Thanks.Forgot to mention that, I can’t currently just change the “using” for the other one, because that would just mess up plenty of other functions I am already using within this verse file that actually depend on /UnrealEngine.com/Temporary/SpatialMath
If you need both, you’ll have to use both.
using { /UnrealEngine.com/Temporary/SpatialMath }
using { /Verse.org/SpatialMath }
If you use both, the types are going to be ambiguous, so you need to qualify them.
For example, vector3 now needs to be (/UnrealEngine.com/Temporary/SpatialMath:)vector3 or (/Verse.org/SpatialMath:)vector3 depending on which version you intend to use.
This makes the code long and hard to read. Instead, you can use the following import expressions.
XYZ := import(/UnrealEngine.com/Temporary/SpatialMath)
LUF := import(/Verse.org/SpatialMath)
These allow you to write XYZ.vector3 and LUF.vector3 instead of (/UnrealEngine.com/Temporary/SpatialMath:)vector3 and (/Verse.org/SpatialMath:)vector3.
Thanks man, found that out last night haha. Below is my form of the code I used for it to work, using both libraries. Just a small example ![]()
Prop.ApplyForce(SpatialMath.vector3{Left := 0.0, Up := 0.0, Forward := 0.0})
