This repository has been archived by the owner on Mar 4, 2025. It is now read-only.
Replies: 1 comment
-
I've gotten around this by bringing the hacks I made in Bevy example Had to learn a tiny bit about [Dependencies] in cargo.toml, paths, crates, etc. Still have more to learn--but that's my job, not yours. Thanks! Enjoying this remarkable platform & the various contributions. Got Bevy working with Rapier & picking & sockets accepting data from another running process running in just a few days. (Cubes are left over from the Rapier example, but the cylinder diameters here are proportional to an equities portfolio's long positions, colored by sector--a different kind of game...) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Pardon an absolute noob question!
This is great stuff; thank you! I'm eager to use it in my hacked-so-I-can-learn Bevy-standard example:
examples/3d/3dShapes.rs
.This is probably a low-level Rust or cargo question and I'm happy to be pointed at a step-by-step, all-inclusive, intended-for-absolute-beginners resource/tutorial if someone knows one!
Here's where I am:
The bevy_mod_picking README.md, under Getting Started, says "it's as simple as adding the plugin to your app."
I've done this successfully with other internal Bevy plugin, as well as my own tutorial
HelloPlugin
(from https://bevyengine.org/learn/book/getting-started/plugins/). I tried to do the same by puttingDefaultPickingPlugins
into the .add_plugins tuple inmain(){App::new()...
and when I try to compile I get:So apparently I've not registered the crate?
Details of what I've tried--please TL;DR if it's already obvious what I did wrong.
I tried adding a line to my cargo.toml [Dependencies], copy/pasting the {...} from another dependency, but pointing where I downloaded (and successfully ran)
bevy_mod_picking
in a dir that's a sibling of the fullbevy
project. Didn't work.Then I copied the entire
bevy_mod_picking
into the fullbevy
project's crates dir. (Got complaints about multiple projects so tried deleting the hidden .[filename] stuff,. Didn't work.Realized I'm probably just missing some basic crate importing/dependency stuff so I thought I'd ask here.
Happy to provide more information if you point me at what I should provide in a no-assumptions-about-Bevy/Rust way. (Though I have been coding computer graphics since 1973 in a dozen+ languages on half a dozen+ platforms--so you can talk to me like a temporarily-ignorant adult rather than a just-starting student... ; )
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions