start 3DMAX animations in UDK - game-engine

I made a shape in 3dmax with a bone and i give it an animation. I export it and imported to UDK. I want that when i shoot to that shape in UDK, my animation started to act. How i can do this?

I don't have UDK now, so I can't check it. but I remember, that you have Triggers in UDK. You can use it to detect collision with weapon bullet (TakeDamage) and start animation. There is a link how to do this:
UDK Forum
If it is not too clear for you, try to find somwthing more on this forum.

Related

Unreal Engine 5.1 Retargeted Animation From Manny to Mixamo Model Causes Single Animation Sequence To Rotate 90*

I apologize if this has been asked before. I tried searching for this first and nothing is coming up. I'm pretty new to Unreal Engine 5.1 so this might be something I'm doing as well.
I've been exploring animation retargeting in unreal and have tried following the steps we learned in class using one of the models from mixamo.com. Everything appears to work fine at the start and I can get the actual IK and IKR objects working just fine. However when I try to export the animations either from the IKR object or by right clicking the ABP object for the source mesh one and only one of the animation sequences rotates 90*. It is always the same animation (the Land animation sequence) and I'm not sure how to go about fixing it.
Also tried looking on google and turned up nothing.
I'm hoping this is some stupid newb mistake that is easy to fix or maybe there's something I'm overlooking. Any help is greatly appreciated and I will continue trying to fix the problem myself as well and will post if I fix it
Tried retargeting using the following steps
Create an IK_Object for the model you wish to project your animations on with chains for each. Mine looked like the following
IK_Remy
Repeat step 1 for the model you wish to source animations from. Mine looked like the following
IK_Manny
Create an IKR_Object Linking the two together, here's what mine looked like
IKR_Remy
Find the ABP for your source model, right click, and select "Retarget Animation Assets->Duplicate and Retarget Animation Assets". Here's what I'm selecting for that
Retarget Dialog
When I do the following most of the animation sequences for "Manny" export just fine. However the "Land" animation flips for some reason (see image below)
Exported Animation Images
Even stranger, when I preview the MM_Land animation in my IKR object it looks fine i.e. not rotated. However, if I try to export the animation from the IKR object the same thing happens i.e. it rotates 90*. I would expect this to be a case of WYSIWYG where if it's working in the preview it would export correctly. However that apparently is not the case
Also I tried modifying the animation sequence manually but it won't let me. If I try to rotate the model in the animation sequence and save it, once I close the sequence it's re-rotated and the changes do not persist.
I can export the sequence as a new sequence, modify it, and save it, and then rename it as my exported "Land" animation to hard force it and it at least looks normal. However when I actually play the game and jump, when the land animation it still flips sideways and in addition causes the character to scale and warp for a second which makes me think there's something going on here that I don't know enough to fix. Really hoping someone with more experience in Unreal Engine can help.
EDIT: Fixed Image Descriptions
I can confirm that this is an issue - I'm seeing the same behaviour. I haven't managed to fix it yet, but my suspicion is that it's due to scaling - in my instance, I have had to scale up my custom character by around 2.5 times to replicate the scale of the default mannequin. Did you scale your custom character at all?

Rigify Animbox addon Armature origin not moving problem

I am using Rigify Animbox when move my Armature and start animation it move last position and when go to edit mode it show many link that connect with Armature.
this link can't set origin or can't move please help me how can fix it.
please see below video so you can better understand my problem.
Link: https://screenrec.com/share/AkR59zCZrL
thanks in advance
You probably have a keyframe in Object mode. That makes the whole armature jump to the center of the world (which is where the keyframe is recorded). Just delete all keyframes on the object level and you'll be able to move the Armature object.

AVFoundation adjusting white balance while focus is close up and background (out-of-focus) is dark

Can anyone please point me in the correct direction or tell me if what I am trying to do is simply not possible?
I'm trying to take a picture of something close up. I am able to lock the focus. That works well. We have found that keeping the torch on while trying to focus and take the picture works best. The issue I cannot seem to resolve is the white balance. If the background is dark, the object I'm trying to focus on is too light. Is there a trick to adjusting the white balance when the item in focus is close up and the background (out of focus) is dark?
I can't provide the code, it's too much. I suppose if necessary I could create a sample project, but my question is probably more conceptual.
Thank you in advance for any help you can provide.
The answer to this question, for those who run across the same issue, is to use a CALayer for an exposeBox and another CALayer for a focusBox. That appeared to do the trick. Of course, I would still like to hear of solutions from others and I'm still curious about controlling the aperture.
Thank you.

Improve perfomance of my threejs

I have some issues about my model. Is is an easy model buy I can not make It work well...
I upload my project here: http://webgl.drapps.info
I have a car model with some pieces that change material when mouse is over them. I use threex.domevent.js library with "on" function. My model is loaded by json files.
Issue 1
when mouse is out of canvas, threejs detects that mouse is over a piece of my model, but this is not true, and that piece change its material (triggering mouseOver event).
Furthermore, I tried to get better mouseover event because even when mouse is really over a piece, that event doesn't trigger.
Issue 2
This is about TrackballControls. Is there any way to control rotation of my world? I mean: rotation only in one axis, rotation only for 180 degrees, etc... Is there any tutorial or article to learn how to rotate and translate camera?
Thanks for everything, I will so please to anybody who wants answer this... because I am a little lost
Thanks
Sorry, but you are out of luck.
Question 1. Yikes! You are using threex.js which is a third-party app that hasn't been updated in almost a year, so I can't help you with that.
You are also using an older version of three.js. Please update to the current version.
If you still have problems, post a new question with a simple demo -- not your entire project. Better yet, Google your question first.
Question 2. TrackballControls is not part of the library -- it is part of the examples -- so it is not officially supported. If you are not happy with it, you will have to hack the code yourself.
This question has come up a lot. Google it. To the best of my knowledge, there is not a good solution.
Personally, I would use OrbitControls in your case -- it keeps the scene right-side-up, and you can constrain the maximum polar angle, keeping the camera "above ground".
The best examples/tutorials are the official three.js examples, which will work with the current version of the library.
I can't help with issue 1.
Issue2:
I am also working on a project to visualize vehicles and needed to be able to rotate. I also tried Trackballcontrolls but it did not suit my needs.
What I ended up doing was creating a a master Object3d and then instead of adding objects/models to the scene, I added them to the master Object3d. That way to rotate everything in the scene, I just had to rotate the master object.
To actually do the rotation I just used the code from one of the cube examples.

as2 dynamically change flash movie clip colour onRollover

Hi I have a flash map of the world
onRollover a region changes color
onRollout changes back no probs
BUT
I dont want to tween these as my flash file is massive
Can any point me to a tutorial or have any ideas at all.
I cannot do buttons as i need smooth transition also between rollover and rollout.
I have trawled the net and have found nothing to help me in as2.
I really would appreciate any help at all - miss_j2000
To do tweening programatically in AS2, you use the Tween class. There's a good tutorial on Kirupa on how to use it.