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
Hi, I think it is a good plugin that allows you to create ramps and stairs quite easily. At the moment the collisions are not being created so I can't use them entirely.
The error that I get in any ProtoRamp node that I add is this: res://addons/proto_shape/proto_gizmo.gd:69 - Out of bounds get index '1' (on base: 'Array')
This is the code part:
# Add collision triangles by generating TriangleMesh from node mesh
gizmo.add_collision_triangles(node.get_meshes()[1].generate_triangle_mesh())
The text was updated successfully, but these errors were encountered:
I could replicate the problem, but I don't think it is relatable to physics collisions. This kind of collision makes the ProtoRamp selectable with a mouse by giving the editor some shapes to guess what to select when clicking. I did not test it enough, but there is an option on CSGShape3D node to enable collisions, that might help with physics collisions.
For the time being, I am fixing the issue with line 69 (nice). I could replicate it by reparenting a ProtoRamp to another ProtoRamp.
Indeed, confirmed, that CSGShape3D collisions are great for basic physics collisions, but I intend to expand upon that features (more variety of collision types). As I am handling child nodes loosely, I tend to delete all children on property change. I will change this, so that other children won't be affected.
Hi, I think it is a good plugin that allows you to create ramps and stairs quite easily. At the moment the collisions are not being created so I can't use them entirely.
The error that I get in any ProtoRamp node that I add is this:
res://addons/proto_shape/proto_gizmo.gd:69 - Out of bounds get index '1' (on base: 'Array')
This is the code part:
The text was updated successfully, but these errors were encountered: