Amended collision effect radius
#story[1195]
This commit is contained in:
@@ -9,8 +9,8 @@ import javafx.scene.transform.Rotate;
|
||||
* Created by cbt24 on 14/09/17.
|
||||
*/
|
||||
public class Shockwave extends Subject3D {
|
||||
public Shockwave() {
|
||||
super(new Cylinder(5,0),0);
|
||||
public Shockwave(double radius) {
|
||||
super(new Cylinder(radius,0),0);
|
||||
getMesh().getTransforms().add(new Rotate(-90, Rotate.X_AXIS));
|
||||
getMesh().setMaterial(new PhongMaterial(new Color(0,0,0,0)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user