[Behavior] gravitation (for physics behavior)

Post your completed addons to share with the community

Post » Thu Jun 07, 2012 8:21 am

Gravitation, includes sample capx file.
Demo


Speed clamp, angular speed clamp, includes sample capx file.
Last edited by rexrainbow on Sat Feb 20, 2016 3:49 pm, edited 4 times in total.
B
97
S
22
G
176
Posts: 4,109
Reputation: 103,021

Post » Fri Jun 08, 2012 12:07 am

@rexrainbow got this msg on r93 and everything crashed

---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:

Unable to find translated combo item

Condition: !substring.IsEmpty()
File: GlobalFunctions.cpp
Line: 1712
Function: class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __cdecl TranslateComboItem(const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &)
Build: release 93 (32-bit) checked
Component: Construct 2 IDE
(Last Win32 error: 0)

You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.
---------------------------
Interrompi   Riprova   Ignora   
---------------------------
B
159
S
38
G
11
Posts: 229
Reputation: 17,361

Post » Fri Jun 08, 2012 3:34 am

@edisone

Sorry, I could not reproduce this problem. (I'm using r93, too)

Currently, the sample capx only need download gravitation behavior.
B
97
S
22
G
176
Posts: 4,109
Reputation: 103,021

Post » Fri Jun 08, 2012 7:50 am

nevermind Rex...i think i fixed...i reinstalled C2 and everything went ok,tnx anyway ;)
B
159
S
38
G
11
Posts: 229
Reputation: 17,361

Post » Fri Jun 08, 2012 8:24 am

@edisone

Okey.
I try to clamp the velocity of physics object for the next behavior, hah.
B
97
S
22
G
176
Posts: 4,109
Reputation: 103,021

Post » Sat Jun 09, 2012 3:45 am

nice and easy but working weird with changed timescale. i mean working otherwise with 1.0 timescale and for example 0.3 timescaledelgado2012-06-09 03:47:26
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

Post » Sat Jun 09, 2012 1:11 pm

@delgado

You are right. I'll think about this use case again.rexrainbow2012-06-09 13:11:35
B
97
S
22
G
176
Posts: 4,109
Reputation: 103,021

Post » Sun Jun 10, 2012 11:01 am

@delgado

I found that physics could not work well with timescale. (It might be that the acceleration is not linear with time.)
So I might skip this problem currently.
B
97
S
22
G
176
Posts: 4,109
Reputation: 103,021

Post » Sun Jun 17, 2012 4:01 pm

Another great plugin!

Great minds think alike.

Link
B
19
S
6
G
7
Posts: 1,204
Reputation: 7,296

Post » Thu Dec 06, 2012 6:01 pm

@rexrainbow
thanks for this excellent plugin. I was also surprised to see that the size of the source and targets also changes the way they react to each other which is great.

When i have a circular source and a circular target and they come into contact the targets keep rolling around the surface is there a way to stop this without affecting the physics?

Thanks
B
44
S
15
G
9
Posts: 1,096
Reputation: 11,013

Next

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 3 guests