lol
This commit is contained in:
@@ -16,7 +16,6 @@ fn main() {
|
||||
bevy_plugin::plugin,
|
||||
asset_loading::plugin,
|
||||
main_menu::plugin,
|
||||
physics::plugin,
|
||||
level_instantiation::map_plugin,
|
||||
player::plugin,
|
||||
interaction::plugin,
|
||||
@@ -54,16 +53,13 @@ fn setup(
|
||||
MeshMaterial3d(materials.add(Color::WHITE)),
|
||||
Transform::from_rotation(Quat::from_rotation_x(-std::f32::consts::FRAC_PI_2)),
|
||||
));
|
||||
commands.spawn((
|
||||
RigidBody::Fixed,
|
||||
Collider::cylinder(0.1, 4.0)
|
||||
));
|
||||
commands.spawn((RigidBody::Fixed, Collider::cylinder(0.1, 4.0)));
|
||||
// cube
|
||||
commands.spawn((
|
||||
Mesh3d(meshes.add(Cuboid::new(1.0, 1.0, 1.0))),
|
||||
MeshMaterial3d(materials.add(Color::srgb_u8(124, 144, 255))),
|
||||
Transform::from_xyz(3.0, 0.5, 0.0),
|
||||
RigidBody::Fixed,
|
||||
RigidBody::Fixed,
|
||||
Collider::cuboid(0.5, 0.5, 0.5),
|
||||
));
|
||||
// light
|
||||
|
||||
Reference in New Issue
Block a user