Open macrozone opened 6 years ago
Amazing work with the whole library. I was trying to test this PR and encountered the problem with no input file
. It turned out to be problem in ios/RCTARKit.xcodeproj/project.pbxproj
.
- B12E5F302070241D00D423F4 /* Switcher.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Switcher.m; path = "../../../../../../panter/archilogic/react-native-arkit/ios/Switcher.m"; sourceTree = "<group>"; };
+ B12E5F302070241D00D423F4 /* Switcher.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Switcher.m; sourceTree = "<group>"; };
Besides that everything worked like a charm ❤️
@Baransu hm, weird have to check that out. Thx for your feedback <3
you can now add phycisbody to your 3d objects:
This works for primitives. It will use the same shape for the physicsBody.
For models, Groups or if you want to customize physicsShape, you can specify the shape:
for a Group:
If you want to debug the physics shape, set debug to arView:
i need to figure out, how to get updates to the position, rotation, etc, which will be needed, if you need to sync back your nodes to state / redux