You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Bullet, on a Spatial object I'm trying to do a ray cast with PhysicsDirectSpaceState
var spaceState = self.getWorld().directSpaceState
The above generates an error from godotnim.nim. asNimGodotObject calls newNimGodotObject with the name returned from godotinternal.nim#getClassNameRaw().
BulletPhysicsDirectSpaceState is not part of the api.json.
This isn't the fault of godot-nim. The godot engine doesn't export it properly. The work around is modify godottypes.nim with a new type and register the class.
Using Bullet, on a Spatial object I'm trying to do a ray cast with
PhysicsDirectSpaceState
The above generates an error from
godotnim.nim
.asNimGodotObject
callsnewNimGodotObject
with the name returned fromgodotinternal.nim#getClassNameRaw()
.BulletPhysicsDirectSpaceState
is not part of the api.json.This isn't the fault of godot-nim. The godot engine doesn't export it properly. The work around is modify
godottypes.nim
with a new type and register the class.I've bugged this godotengine/godot#48752 and created an engine PR to fix.
The text was updated successfully, but these errors were encountered: