Unanswered Questions
715 questions with no upvoted or accepted answers
9
votes
1
answer
1k
views
Using PhysX, how can I predict where I will need to generate procedural terrain collision shapes?
In this situation, I have terrain height values I generate procedurally. For rendering, I use the camera's position to generate an appropriate sized height map. For collision, however, I need to have ...
8
votes
1
answer
420
views
How to move a portion of bezier/spline curve along its complete bezier/spline curve?
Based on the image below, I have a curve (orange) which is a bezier sub-curve of an original curve (longer black curve). The original curve consists of a number of cubic bezier curves joined together. ...
6
votes
0
answers
213
views
How can I create a set of collision points for an arbitrary mesh?
In my project I am working on automatically deforming an arbitrary mesh with respect to another arbitrary mesh, within the context of user generated content, similar to this deformer being developed ...
5
votes
0
answers
108
views
Slot Probability Function
Please can someone point me in the right direction. I'm working on a slot game. that I'm having trouble figuring how to implement the probability function for. The game has a set of symbols that bets ...
5
votes
0
answers
174
views
Scoreboard setdisplay list shows correctly per char. Can i make my sidebar show correctly per char as well?
So I've been writing a script over the last little while in Python that interacts with the Minecraft console. I'm basically trying to make a scoreboard based currency system that is world independent ...
5
votes
0
answers
2k
views
Unity3D LLAPI and Pyhton UDP communication
I need a Unity3D game on Android to receive UDP packages from a Python script running on a different device.
Using System.Net is not (yet) an option, as it is only supported on Android with a valid ...
5
votes
0
answers
516
views
How to target moving object in 2D game
I am working on targeting system for 2D game. Two objects move in space.
Each one have Position and Velocity vector. Ship object shoots moving objects in space. Ship can shoot in any direction, but ...
5
votes
1
answer
184
views
How can I determine "exact moment" of collision with ray casting?
I'm currently brainstorming how the physics for my game engine is going to be handled.
It's top down and I'm thinking of using ray casting for collision detection.
I've reached two potential problems (...
4
votes
0
answers
136
views
Force propagation through physic bodies constraints (as non-penetration)
First, some context
I'm currently implementing a (well, tiny) game engine using a predictive approach. The idea is to compute when a state change will occur, and only update state at time of the ...
4
votes
0
answers
173
views
Support function of Minkowski Difference
I am watching this and if you stop at 7:25, you will find an implementation of the support function. The goal of the function is to give you the farthest point in a given direction. My question is how ...
4
votes
0
answers
660
views
How to implement a pannini projection in opengl?
I have read about the pannini projection, which involves (I think) projecting a scene onto a cyclinder instead of a rectangle.
How can I implement this projection in a vertex shader?
Blinky is using ...
4
votes
1
answer
3k
views
How can I move a vehicle using speed and steering angle?
I want to drive a vehicle in x and y coordinate area with range from (0,0) to (6000,5000). I am using Visual Components (using Python API).
On input I have speed data and steering angle of wheels ...
4
votes
0
answers
314
views
Determine user mouse selection of 3D Object for multiple viewports
I am currently working on setting up some world objects for my level editor and am running into a bit of a snag. When I get the hit location from the mouse raycast, I would like to determine what part ...
4
votes
0
answers
181
views
Understanding unknown mesh data structure
I have a large number of old mesh files in a custom, undocumented binary format. I have managed to parse almost everything but am left with one group of structures, described below, that I don't ...
4
votes
0
answers
358
views
Python interpreter as in-game console
Say I have a game which has lots objects (NPCs, monsters, etc.), I want a console so I can change the variables of the objects (like changing HP for example), how could I embed python into my program, ...