Hi I am new in game development and want to develop game related to archery.
I am using concept like angry bird .
But the problem is when i through object using slingshot into the air it comes back to the earth because of gravity .I want the object will not come back to the earth and stay at the point where it will reach after thronging.
Can anybody please help me how i can do that.
please please please
Thanks in advance
Chipmunk defaults to zero gravity. You have set it explicitly by calling either cpSpaceSetGravity(space, ...) or space->gravity = ...; So just remove the line wherever you do that.
Related
I'm doing a simple Line Trace for Objects in Blueprints inside Unreal Engine,
that problem is that it always return -1 when I try to get the faceIndex of a static mesh with multiple materials.
I have read from past discussions that I would need to turn on the bReturnFaceIndex variable for Line Trace
to work with FaceIndex, but I do not know how to do it or expose it.
I am aware that I need to use c++ to do this, but again I work only in blueprints because with c++
I'm a complete noob, I only know, how to create a new empty class
(I tried to make something reading
other discussions, but without success, I don't know for example where do I need to put UFUNCTION, or UPROPERTY, or basic things like these..)
I have 6 months of work on my project at the moment, everything works perfectly and now I'm stuck
with this variable...
I hope that someone can guide me in the right way, thank you guys!
screenshot here
G'day, mates. I met a problem that I couldn't figure out. I built a simple model consisting of a cylinder(solid) and a cuboid(fluid) for simulating Kármán vortex street. And the cylinder is submerged in the fluid, so the entire surface of it should be selected in the Scope dialog box. But there is a blue question mark beside the icon of "Fluid Solid Interface." I don't know why. Any mistake did I make?
I hope someone can help me out; thanks. Oh btw, I'm a beginner.
To make the question mark vanish so that I can go on.
Once clicked “solve”, immediately received a warning message saying that if the stiffness behaviour of the body is set “rigid”, then it’ll cause invalid “Fluid Solid Interface”. So just set it to be “flexible”. Okay, this problem has been solved!
for my game project I want to include a "camera mode".
This means, that on a press of a button the current camera view gets saved in an in-game gallery.
After some search, I only found ways to save a screenshot on the disk (BP for saving Screenshot, semi functional)
, but I want the picture to be still available in my game, maybe as a texture or in a struct. So I can later use it, well in an in-world picture frame or newspaper.
I did try SceneCaptureComponent2D, but I never got that one really working and searching online got no satisfactory results.
By the way, I'm fine with C++, I'm just building my current prototype with BP for faster testing and altering.
I hope you can help me.
I would have commented on your question, but I do not have enough reputation to do so, because this answer I am providing you is more a hint on how you could do it rather than a straight solution for your problem.
Check out this repository on how to capture images with C++ during a running application which is actually meant for recording data.
I'm rewriting my code, changing from sysfs interface forward to libgpiod. After the request of a line, direction is fixed and I need to figure out, how to switch the direction of this line on the fly for changing between input and output. At the moment I don't see the right way, and a further request is denied.
When I do a cycle of request - use - release - request-again with different direction, this seem wrong overhead to me.
I would prefer to have a function call, which changes the direction from in to out and vice versa.
Is there something, I've overseen?
Answering the question myself:
The direction is currently not changeable yet without releasing the line.
I've got this directly from the author of libgpiod via e-mail:
... this is because the kernel doesn't allow to change the
direction without releasing a line. This however will change in linux
v5.5 as the patches introducing this functionality have been reviewed
and are pending a merge. New version of libgpiod with support for that
will be released shortly after.
Best regards,
Bartosz Golaszewski
ok what i want to do is make a program with button witch i have done and use a dll form windows in this case its called resources.dll its from new blue effects and i want to change logo image on a dialog box how would i go around doing this
ok this is new to me dont say to me its advance i know it is just need someone to explain or give me some code and tell me how to implant it into a button im using gui intaface on vb
so one i have a resources.dll file
2 i want to change a image in this dll file using c++ gui witch is already done
3 all i need is some code and a little explication on how to use it we all have to start some ware i know the basics of this but videos dont quite cover what i want to do not asking you to do it for me im just asking for some help with this i will add your name on my product :) thank you
elfenliedtopfan5
images on what i mean