Search found 92 matches

by parapoohda
Sun Aug 04, 2019 12:34 am
Forum: Questions and Help
Topic: Bepu v2 Character Controllers
Replies: 89
Views: 474266

Re: Bepu v2 Character Controllers

I have 3 problem. 1 I tried option 1 that fix view direction axis. In main project it move correctly for a second before change direction. I try to build stand alone for you to look at. But not success to replicate problem. So today and maybe tomorrow I will try to replicate problem. 2 I in update c...
by parapoohda
Fri Aug 02, 2019 3:24 pm
Forum: Questions and Help
Topic: how could i know if it run correctly with linux server no graphic
Replies: 28
Views: 35397

Re: how could i know if it run correctly with linux server no graphic

I want to sync physic client and server.
I use unity for client.
I try to also use bepu in unity but I can't use vector<float>
Can I use bepuphysic2 in unity? If not how can I tell unity when it is slide of other object.
Thank you.
by parapoohda
Thu Aug 01, 2019 2:26 am
Forum: Questions and Help
Topic: Bepu v2 Character Controllers
Replies: 89
Views: 474266

Re: Bepu v2 Character Controllers

Oh thank you. I think i will try second option.
by parapoohda
Wed Jul 31, 2019 9:24 am
Forum: Questions and Help
Topic: Bepu v2 Character Controllers
Replies: 89
Views: 474266

Re: Bepu v2 Character Controllers

Is view direction is rotational direction of object? I munipulate target velocity(x-y) but I can't pair vector 2 to 2/3 axis of vector3. If i change view direction it also shuffle pair of x or y to vector3. I can't pair x of vector2 to x of vector3 and y of vector2 to z of vector3. How can I use bep...
by parapoohda
Tue Jul 30, 2019 4:49 am
Forum: Questions and Help
Topic: Bepu v2 Character Controllers
Replies: 89
Views: 474266

Re: Bepu v2 Character Controllers

Thank you. It work. Is it magic? How could it work :lol: :lol:
by parapoohda
Mon Jul 29, 2019 11:13 am
Forum: Questions and Help
Topic: Bepu v2 Character Controllers
Replies: 89
Views: 474266

Re: Bepu v2 Character Controllers

This is part of project. Thank you.

https://github.com/parapoohda/TestMoveInBepu
by parapoohda
Sun Jul 28, 2019 9:18 am
Forum: Questions and Help
Topic: Bepu v2 Character Controllers
Replies: 89
Views: 474266

Re: Bepu v2 Character Controllers

I make some change to update character goal by remove camera and change input to vector 2 instead internal void UpdateCharacterGoals(System.Numerics.Vector2 velocity, System.Numerics.Vector3 viewDirection, float simulationTimestepDuration) { var movementDirectionLengthSquared = velocity.LengthSquare...
by parapoohda
Sun Jul 28, 2019 7:58 am
Forum: Questions and Help
Topic: Bepu v2 Character Controllers
Replies: 89
Views: 474266

Re: Bepu v2 Character Controllers

Update
After send simulation to it is not error anymore but I can't still move it.
by parapoohda
Sun Jul 28, 2019 7:52 am
Forum: Questions and Help
Topic: Bepu v2 Character Controllers
Replies: 89
Views: 474266

Re: Bepu v2 Character Controllers

I use Simulation.Create with TNarrowPhaseCallbacks from carDemo and TPoseIntegratorCallbacks from characterDemo.
So I didn't send characters to narrow phase callback. When I use characters.Simulation it is null. I need to send simulation to constructor of character input isn't it.
by parapoohda
Sun Jul 28, 2019 5:43 am
Forum: Questions and Help
Topic: Bepu v2 Character Controllers
Replies: 89
Views: 474266

Re: Bepu v2 Character Controllers

:D :D Thank you norbo.
by parapoohda
Sat Jul 27, 2019 5:37 am
Forum: Questions and Help
Topic: Bepu v2 Character Controllers
Replies: 89
Views: 474266

Re: Bepu v2 Character Controllers

Um, is it intention? I comment movemnt in character demo and add var reference = Simulation.Bodies.GetBodyReference(bodyHandle); reference.Velocity.Linear = new Vector3(1,0,0); It is passthrought that lizard? What does awake do? When I am make it true it done nothing. If it false it sleep. Oh It see...
by parapoohda
Sat Jul 27, 2019 2:12 am
Forum: Questions and Help
Topic: Bepu v2 Character Controllers
Replies: 89
Views: 474266

Re: Bepu v2 Character Controllers

Thank you. I feel like i'm silly after look how easy you munipulate velocity. :lol: :lol:

Oh you write it for me. Thank you very much
by parapoohda
Fri Jul 26, 2019 10:18 am
Forum: Questions and Help
Topic: Bepu v2 Character Controllers
Replies: 89
Views: 474266

Re: Bepu v2 Character Controllers

How can I munipulate velocity directly. Thank you. I try to look into characterdemo. I look into it until I struck at target velocity. I can't find what I want.
by parapoohda
Thu Jul 25, 2019 6:38 am
Forum: Questions and Help
Topic: How can I make player detector not affect by gravity
Replies: 14
Views: 23489

Re: How can I make player detector not affect by gravity

Find position of object

var position = new BepuPhysics.BodyReference(bodyHandle, Simulation.Bodies).Pose.Position