Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BodyInterface::CreateBodyWithID and Quat::operator* #185

Open
Kazey974 opened this issue Jul 1, 2024 · 2 comments
Open

Add BodyInterface::CreateBodyWithID and Quat::operator* #185

Kazey974 opened this issue Jul 1, 2024 · 2 comments

Comments

@Kazey974
Copy link

Kazey974 commented Jul 1, 2024

Hello,
I need CreateBodyWithID to be able to sync my server with my clients :

interface BodyInterface {
	Body CreateBodyWithID([Const, Ref] BodyID inBodyID, BodyCreationSettings inSettings);
}

Also Quat.Mul(Vec3) to rotate a Vec3 would be useful.

@jrouwe
Copy link
Owner

jrouwe commented Jul 1, 2024

I've added CreateBodyWith ID in abec584 (do you build your own version or do you need a release?)

W.r.t. Quat.Mul: Unfortunately webidl only exposes the =, +=, -=, *= operators. I haven't yet found a way to expose the * operator in JS.

@Kazey974
Copy link
Author

Kazey974 commented Jul 1, 2024

Thanks a lot, I will try building it, doesn't sound too complicated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants