Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content
Stack Overflow
  1. About
  2. For Teams
Loading…
How are we doing? Please help us improve Stack Overflow.Take our short survey
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives
212 questions
Filter by
Sorted by
Tagged with
0votes
1answer
75views

Block execution till a Rust future is resolved on WASM without wasm bindgen

I am using a library (Macroquad) that has an async function with following signature:async fn load_file(path: &str) -> Vec<u8>This loads the file and returns the raw bytes.Is there a ...
0votes
1answer
63views

Trying to rotate a gizmo to be flush with one of the sides of a cube

I am making a small block builder with physics in Bevy, just for fun and for learning purposes. I guess my issue boils down to basically a math problem. I am trying to rotate the block placement ...
1vote
1answer
112views

Bevy 2d text for 3d scenes

I'm attempting to write a simple 3d axis. My current code is as follows:use bevy::prelude::*;use bevy::color::palettes::css;use bevy_fly_camera::{FlyCamera, FlyCameraPlugin};use bevy_polyline::...
Pioneer_11's user avatar
0votes
1answer
50views

How to make BevyError use the inner backtrace?

BevyError has a blanket-implementation From<E> for BevyError for all Error-types.However, it does not use the underlying error's provided backtrace when printing the location of the error. This ...
lucidbrot's user avatar
2votes
1answer
87views

How do I know when the spawn-commands are finished?

I am writing an asteroids-like game in rust with the bevy game-engine as a learning-project.The gameplay works fine (the ship can shoot at asteroids until there are no more), but I have difficulties ...
1vote
1answer
262views

Detect collisions in bevy

Setup: An asteroids clone with bevy and avianI want to make an asteroids clone in rust with the game engine bevy and the physics engine avian.I already have Components for Bullets and Astroids. When ...
Kaligule's user avatar
0votes
1answer
308views

What should the size of a game build be on Bevy?

I’ve become interested in the Bevy engine (v0.15.3) and decided to check the build size generated by a simple project that uses use bevy::prelude::* just to draw a square.I was a bit surprised by the ...
SafeHardCode's user avatar
1vote
0answers
50views

What is the correct way to apply MediaPipe pose data to a Bevy GLTF character?

I am trying to correctly apply MediaPipe pose data to the bones of a Bevy GLTF model. I have coded it as shown below, and the upper arm seems to move correctly, but the forearm moves strangely.I’m ...
yun's user avatar
  • 43
1vote
1answer
212views

Understanding Lifetimes in Bevy SystemParam Queries

In bevy, we can define custom SystemParams like in this example/// The [`SystemParam`] struct can contain any types that can also be included in a/// system function signature.////// In this ...
lucidbrot's user avatar
3votes
1answer
168views

How to iterate over Bevy Query while iterating over same or similar Query?

I'm working with Bevy ECS and trying to iterate over entities in a system, but I'm encountering issues with iterating inside an iterator (for example, iterating over entities while inside another ...
Michael's user avatar
2votes
1answer
421views

Bevy system could not access system parameter ResMut<Events<event>>

I am trying to learn Bevy but I run into a weird issue. When I try to insert a custom event into a system variables, the game crashes at start.The code:[package]name = "bevy_playground"...
Galedon's user avatar
0votes
1answer
52views

Calculating acceleration to stop at a destination point in a given amount of time

I'm programming a game in the Bevy engine, and I'm trying to move an object from a starting point to a destination point in a certain amount of time. The starting position, destination position, ...
Max's user avatar
  • 1,384
0votes
1answer
83views

How to insert a Wireframe component into an entities component

Using bevy 0.15I'm trying to add a wireframe visualization to selected entities in Bevy. My system attempts to modify a _wireframe field in the Controllable component when an entity is selected, but ...
Thomas's user avatar
2votes
1answer
485views

How to load .glb Assets via bevy_asset_loader?

I am developing a bevy application with bevy v0.15.1 and bevy_asset_loader v0.22.0 and the 3d feature enabled.My Problem is now that it seems that the loaded assets type seems to be not of Handle....
JaB's user avatar
  • 535
1vote
1answer
54views

Best way to check if a target is reached with smooth_nudge interpolation

I am implementing a system that takes care of dragging and dropping inventory items and want a way to return items to their old place if the desired place is invalid. I found a good method for that ...
JaB's user avatar
  • 535

153050per page
1
2345
15

Hot Network Questions

more hot questions
Newest bevy questions feed

[8]ページ先頭

©2009-2025 Movatter.jp