Closed Firepal closed 3 years ago
With this change I now get black cubes (Quest 1) also on desktop visible; do you maybe know what might cause this?
I don't have time right now to investigate but hopefully later.
I think the BeepCube texture isn't set in the material, I was sure of it though? I'm gonna check
Uh, looks fine...
This is how it looks for me on desktop right now with master:
Maybe it's a problem with my godot version; but for Quest export I use the included .apk;
Now it works for me; I had some changes due to testing the previous PR merges locally I missed; git checkout . helped:
Thx for this nice contribution!!
Aha, git can be silly sometimes :)
BeepCube material was almost half-rewritten:
discard
call for alpha scissoring.The rigid body forces applied to the cutted cube halfs no longer uses the
cutplane
variable. Instead we use the 2D cutplane (also used to compute the "cut angle").cutplane
, but it's prettier, and I couldn't find out how to use it to generate a rotation matrix. I also added side-forces to really split the halfs apart.Slicing a cube now makes cool particle effects show up! One particle effect is radial, and the other follows the cut direction.