Giter Site home page Giter Site logo

kbogert / falconunity Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 11.0 2.11 MB

Library that allows for easy manipulation of Unity3D objects using a Novint Falcon

License: GNU Lesser General Public License v3.0

C++ 73.90% C# 8.30% JavaScript 0.22% CMake 5.75% Makefile 0.62% Shell 1.22% Python 3.27% C 2.96% HTML 2.37% CSS 0.69% Java 0.37% SWIG 0.05% Roff 0.28%

falconunity's People

Contributors

kbogert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

falconunity's Issues

God object passes through solid objects

This is due to the jitter created by collisions, more pronounced with static objects, that can build up and eventually get the god object moving so quickly that it passes through a mesh without triggering a collision.

One idea to fix it for collisions with static objects would be to only apply enough force along the god object -> haptic tip ray to keep the god object static, ie equalize the forces.

Or we could set the god object's mass to zero when there is a static object between it and the haptic tip.

help

Hi, do you know where is located the .unitypackage? I have troubles loading the plugin from github, do you have any guide I could follow? I would appreciate it so much

Stop the object when it is no longer pushed by the falcon

When I push an object with my Falcon, the object moves forward and I feel the force feedback. But when I stop pushing it, the object keeps moving forward indefinitely and never stops as if it were in space. Also, it passes through all the other objects in the scene....

How to solve this problem?

Get constant force

Hello again :)

I set a ForceField to the Falcon via "setForceField(falcon_num,new Vector3(0,0,-10));". So i have a constant pressure on the z axis. When i now push against the grip i like to get the constant force even when i don't move forward directly (just pushing with a constant force against the pressure, you know?). I tried "getAverageFalconForces(falcon_num, out forces);". Then i get a force of 10 on the z axis (without touching the grip). When i now push against the grip and press it to the body the value increases. So far so good. But when i just press/push so much that i don't move the grip directly further i get the value of 10 again. But i still press. It's hard to explain, do you know what i mean? I like to know i fthe user presses with a constant force even when the grip is then not moving forwards.

Thanks a lot for you help.

Which Bullet version should i use?

Hello,

I downloaded the current source and compiled the solution with Bullet3 and 2.82.

I get an #QNAN when I tried to ready the position of the godobject (FalconUnity.cs::700). So I then stepped to the native falcon unity source and found out that the problem is somewhere in Bullet. The RigidBody class (btRigigBody) has a method "predictIntegratedTransform(...)" which get called several times in one simulation step. Somehow (and sadly I didn't found out why) the linearVelocity member in this class which is used in the "predictIntegratedTransform(...)" function get set to NAN . This leads to an incorrect origin (btTransform.h::152) set during the transform. And this results in the QNAN for the godobjectPos in falconunity.cpp::267.

So i tested the Bullet3 and Bullet2.82 version. Which version did you use for v0.2?

Thanks in advice!

DLL File

I'm looking for the falconunity.dll file you mentioned. I cannot seem to find it. I've searched for .dll extensions will no luck. Any chance it was removed or am I glancing over it somehow?

Can i contact you for help on my project?

Hello! My name is João and i am a brazilian computer engineering student!

I am currently starting a project using novint falcon, i know this repository was made a long time ago, but i am having some difficulties and would like to know if there is any way i can contact you (email, social network, linkedin, discord, anything).

Have a good day,
jvmoraiscb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.