Comments (1)
A new sub prefab has been created and pushed onto the PhysicsSimSub branch. At runtime, it creates an array representing its children that have a motor component on them. Each motor prefab has the main submarine game object as its parent.
Motor Class:
Public:
set_global_cog(Vector3 real_cog) //Sets the global cog of the submarine
get_force() //Returns force
set_force(float inForce) //Sets the force of the motor
set_motor_direction(Vector3 inVec) //Set direction of the force
set_dist_cog(Vector3 inVec) //Set the distance of the motor to center of gravity
get_torque() //Calculates and returns the torque of the motor based on distance to cog.
from simulator.
Related Issues (17)
- Reduce Size of Turtle Object HOT 3
- Finish RigidbodyManager HOT 1
- Drag, Buoyancy, and Gravity to Sub HOT 3
- IMU Data GUI HOT 3
- Camera Object Avoidance HOT 1
- Underwater Effects
- Self Righting and Positioning button HOT 2
- Camera on Sub for Navigation Simulation
- Camera Collision Needs Work
- Controller Support HOT 2
- Broadcast and recieve motor inputs over ROS HOT 1
- Create InputController abstraction HOT 3
- ROSConnector won't publish confirmation messation on connection HOT 1
- ROS connection status icon doesn't change color on connection HOT 1
- Window Focusing HOT 1
- Improve UI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simulator.